aboutsummaryrefslogtreecommitdiffstats
path: root/net/openldap22-server
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2001-06-14 13:14:03 +0800
committerdwcjr <dwcjr@FreeBSD.org>2001-06-14 13:14:03 +0800
commitf0f4333573ef53e298ce475187e6796317d902e7 (patch)
tree3da4d2ae149cd5b206aade243cd6611c52d40a0f /net/openldap22-server
parent5c374fdd441aae13bc971c2ef437d925e14701a4 (diff)
downloadfreebsd-ports-gnome-f0f4333573ef53e298ce475187e6796317d902e7.tar.gz
freebsd-ports-gnome-f0f4333573ef53e298ce475187e6796317d902e7.tar.zst
freebsd-ports-gnome-f0f4333573ef53e298ce475187e6796317d902e7.zip
Modify config file to put default pid file in correct location
Bump PORTREVISION PR: 28129 Reviewed by: Gyori Sandor <gyori@szit.bme.hu>
Diffstat (limited to 'net/openldap22-server')
-rw-r--r--net/openldap22-server/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/openldap22-server/Makefile b/net/openldap22-server/Makefile
index e263659c73f5..3cf07d61f359 100644
--- a/net/openldap22-server/Makefile
+++ b/net/openldap22-server/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