summaryrefslogtreecommitdiff
path: root/net/openldap22-server
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-07-18 17:58:57 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-07-18 17:58:57 +0000
commit47d2777b16fe58d7241c0b04f9e9fe33ccfe287c (patch)
tree2ba4663f7a77b3d3d8d06f53731959f9319d7e08 /net/openldap22-server
parentUse USE_GNOMENG. (diff)
Use USE_REINPLACE.
Diffstat (limited to 'net/openldap22-server')
-rw-r--r--net/openldap22-server/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/openldap22-server/Makefile b/net/openldap22-server/Makefile
index 123cf53ed292..2f2aadd2d6c5 100644
--- a/net/openldap22-server/Makefile
+++ b/net/openldap22-server/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