aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2015-11-16 06:41:40 +0800
committerrm <rm@FreeBSD.org>2015-11-16 06:41:40 +0800
commit38112291e5d3544883030fdea903f53336d0117e (patch)
tree4035fc3e29ea67d81f1af4488e18506a88b8a954
parent95953e45aee3a298551f3690bf475b320feeaa3f (diff)
downloadfreebsd-ports-gnome-38112291e5d3544883030fdea903f53336d0117e.tar.gz
freebsd-ports-gnome-38112291e5d3544883030fdea903f53336d0117e.tar.zst
freebsd-ports-gnome-38112291e5d3544883030fdea903f53336d0117e.zip
net/py-ldap: restore accidentally removed replacement
It's still needed to make build prefix-safe. This doesn't affect default package, so not PORTREVISION bump.
-rw-r--r--net/py-ldap/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/py-ldap/Makefile b/net/py-ldap/Makefile
index ffa337e15944..445cd3dec910 100644
--- a/net/py-ldap/Makefile
+++ b/net/py-ldap/Makefile
@@ -19,7 +19,6 @@ USES= python:2
USE_PYTHON= autoplist distutils
USE_OPENLDAP= yes
WANT_OPENLDAP_VER= 24
-
OPTIONS_DEFINE= SASL
.include <bsd.port.options.mk>
@@ -30,6 +29,7 @@ CONFLICTS+= openldap24-client-2.*
.endif
do-configure:
+ @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},' ${WRKSRC}/setup.cfg
.if ! ${PORT_OPTIONS:MSASL}
@cd ${WRKSRC} && ${PYTHON_CMD} setup.py -q setopt -c _ldap -s HAVE_TLS -o defines
@cd ${WRKSRC} && ${PYTHON_CMD} setup.py -q saveopts