aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-07-08 15:16:03 +0800
committeritetcu <itetcu@FreeBSD.org>2009-07-08 15:16:03 +0800
commit1fff0acfb0be167cab517e7ef85d0f5d82a69412 (patch)
tree7f1b2bb1b873d02e95405e0f22eefb2901216f5e /net
parent81e2a0daa0261b812f9db2a8551621774b947f53 (diff)
downloadfreebsd-ports-gnome-1fff0acfb0be167cab517e7ef85d0f5d82a69412.tar.gz
freebsd-ports-gnome-1fff0acfb0be167cab517e7ef85d0f5d82a69412.tar.zst
freebsd-ports-gnome-1fff0acfb0be167cab517e7ef85d0f5d82a69412.zip
Fix install / plist with custom PREFIX.
PR: 136138 Submitted by: maintainer Reported by: QATty
Diffstat (limited to 'net')
-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" \