From 1fff0acfb0be167cab517e7ef85d0f5d82a69412 Mon Sep 17 00:00:00 2001 From: itetcu Date: Wed, 8 Jul 2009 07:16:03 +0000 Subject: Fix install / plist with custom PREFIX. PR: 136138 Submitted by: maintainer Reported by: QATty --- net/ldapscripts/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'net/ldapscripts') 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" \ -- cgit