summaryrefslogtreecommitdiffstats
path: root/net/openldap22
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-07-18 17:58:57 +0000
committersobomax <sobomax@FreeBSD.org>2002-07-18 17:58:57 +0000
commit091dfe7895aef2457036ad52b4930489b2ad7d80 (patch)
treeddd64210ee572fd1065aba2066d346b6a1023a85 /net/openldap22
parentca8d57e8679c5a9614da3dd570e5863684344b10 (diff)
downloadFreeBSD-ports-091dfe7895aef2457036ad52b4930489b2ad7d80.zip
FreeBSD-ports-091dfe7895aef2457036ad52b4930489b2ad7d80.tar.gz
Use USE_REINPLACE.
Diffstat (limited to 'net/openldap22')
-rw-r--r--net/openldap22/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/openldap22/Makefile b/net/openldap22/Makefile
index 123cf53..2f2aadd 100644
--- a/net/openldap22/Makefile
+++ b/net/openldap22/Makefile
@@ -27,6 +27,7 @@ LIB_DEPENDS= db3.2:${PORTSDIR}/databases/db3
USE_AUTOCONF_VER=213
USE_LIBTOOL= yes
USE_OPENSSL= yes
+USE_REINPLACE= yes
LATEST_LINK= openldap2
@@ -84,8 +85,8 @@ BINS= bin/ldapadd \
.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
+ @${REINPLACE_CMD} -e 's@%LOCALSTATEDIR%/slapd[.]pid@/var/run/slapd.pid@g; \
+ s@%LOCALSTATEDIR%/slapd[.]args@/var/run/slapd.args@g' ${WRKSRC}/servers/slapd/slapd.conf
post-configure:
@cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/libtool.diff
OpenPOWER on IntegriCloud