svn commit: r407216 - head/net/py-pyldap

Ruslan Makhmatkhanov rm at FreeBSD.org
Mon Jan 25 14:36:16 UTC 2016


Author: rm
Date: Mon Jan 25 14:36:14 2016
New Revision: 407216
URL: https://svnweb.freebsd.org/changeset/ports/407216

Log:
  net/py-pyldap: simplify reinplaces

Modified:
  head/net/py-pyldap/Makefile

Modified: head/net/py-pyldap/Makefile
==============================================================================
--- head/net/py-pyldap/Makefile	Mon Jan 25 14:30:05 2016	(r407215)
+++ head/net/py-pyldap/Makefile	Mon Jan 25 14:36:14 2016	(r407216)
@@ -19,16 +19,13 @@ USE_PYTHON=	autoplist distutils
 USE_OPENLDAP=	yes
 WANT_OPENLDAP_VER=	24
 
-REPLACE_ARGS=	-e 's,/usr/include/sasl,${LOCALBASE}/include/sasl,' \
-		-e 's,/usr/local,${LOCALBASE},'
-
 OPTIONS_DEFINE=	SASL
 
 SASL_VARS=	WANT_OPENLDAP_SASL=yes
 SASL_CONFLICTS=	openldap24-client-2.*
 
 do-configure:
-	@${REINPLACE_CMD} ${REPLACE_ARGS} ${WRKSRC}/setup.cfg
+	@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},' ${WRKSRC}/setup.cfg
 
 do-configure-SASL-off:
 	@cd ${WRKSRC} && ${PYTHON_CMD} setup.py -q setopt -c _ldap -s HAVE_TLS -o defines


More information about the svn-ports-all mailing list