diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-07-19 01:58:57 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-07-19 01:58:57 +0800 |
commit | 091dfe7895aef2457036ad52b4930489b2ad7d80 (patch) | |
tree | ddd64210ee572fd1065aba2066d346b6a1023a85 /net/openldap20-server | |
parent | ca8d57e8679c5a9614da3dd570e5863684344b10 (diff) | |
download | freebsd-ports-gnome-091dfe7895aef2457036ad52b4930489b2ad7d80.tar.gz freebsd-ports-gnome-091dfe7895aef2457036ad52b4930489b2ad7d80.tar.zst freebsd-ports-gnome-091dfe7895aef2457036ad52b4930489b2ad7d80.zip |
Use USE_REINPLACE.
Diffstat (limited to 'net/openldap20-server')
-rw-r--r-- | net/openldap20-server/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/openldap20-server/Makefile b/net/openldap20-server/Makefile index 123cf53ed292..2f2aadd2d6c5 100644 --- a/net/openldap20-server/Makefile +++ b/net/openldap20-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 |