svn commit: r401737 - head/net/py-ldap

Ruslan Makhmatkhanov rm at FreeBSD.org
Sun Nov 15 22:41:42 UTC 2015


Author: rm
Date: Sun Nov 15 22:41:40 2015
New Revision: 401737
URL: https://svnweb.freebsd.org/changeset/ports/401737

Log:
  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.

Modified:
  head/net/py-ldap/Makefile

Modified: head/net/py-ldap/Makefile
==============================================================================
--- head/net/py-ldap/Makefile	Sun Nov 15 22:41:08 2015	(r401736)
+++ head/net/py-ldap/Makefile	Sun Nov 15 22:41:40 2015	(r401737)
@@ -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


More information about the svn-ports-all mailing list