aboutsummaryrefslogtreecommitdiff
path: root/net/ldapscripts
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-07-08 07:16:03 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-07-08 07:16:03 +0000
commitdff99a194ed8f2df17b90bd53cc7990f86aea6ce (patch)
tree2291fe3332f55a8dc561805acdadc464ad50bc69 /net/ldapscripts
parent48e19315dbd5f66e734f2d982642dd15a21d034d (diff)
Notes
Diffstat (limited to 'net/ldapscripts')
-rw-r--r--net/ldapscripts/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ldapscripts/Makefile b/net/ldapscripts/Makefile
index 2a20c772bb27..62c7839cca1c 100644
--- a/net/ldapscripts/Makefile
+++ b/net/ldapscripts/Makefile
@@ -50,6 +50,7 @@ PORTDOCS= README CHANGELOG COPYING VERSION TODO
# and set paths to OpenLDAP binaries
post-patch:
${REINPLACE_CMD} "s|^all:.*|all:|g" ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} "s|^PREFIX = .*|PREFIX = ${PREFIX}|g" ${WRKSRC}/Makefile
${REINPLACE_CMD} \
-e "s|^LDAPSEARCHBIN=.*|LDAPSEARCHBIN=\"${LOCALBASE}/bin/ldapsearch\"|g" \
-e "s|^LDAPADDBIN=.*|LDAPADDBIN=\"${LOCALBASE}/bin/ldapadd\"|g" \