summaryrefslogtreecommitdiffstats
path: root/net/openldap22
diff options
context:
space:
mode:
Diffstat (limited to 'net/openldap22')
-rw-r--r--net/openldap22/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/openldap22/Makefile b/net/openldap22/Makefile
index e263659..3cf07d6 100644
--- a/net/openldap22/Makefile
+++ b/net/openldap22/Makefile
@@ -7,7 +7,7 @@
PORTNAME= openldap
PORTVERSION= 2.0.11
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net databases
MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \
ftp://ftp.net.lut.ac.uk/openldap/%SUBDIR%/ \
@@ -77,6 +77,10 @@ BINS= bin/ldapadd \
.include <bsd.port.pre.mk>
.include "${FILESDIR}/manpages"
+post-patch:
+ @${PERL} -pi.fbsd -e 's@pidfile\t\t%LOCALSTATEDIR%/slapd.pid@pidfile\t\t/var/run/slapd.pid@g; \
+ s@argsfile\t%LOCALSTATEDIR%/slapd.args@argsfile\t/var/run/slapd.args@g' ${WRKSRC}/servers/slapd/slapd.conf
+
post-configure:
@cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/libtool.diff
OpenPOWER on IntegriCloud