aboutsummaryrefslogtreecommitdiffstats
path: root/net/ldapscripts
diff options
context:
space:
mode:
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" \