svn commit: r383352 - head/dns/py-pywdns
Don Lewis
truckman at FreeBSD.org
Sun Apr 5 18:54:31 UTC 2015
Author: truckman
Date: Sun Apr 5 18:54:30 2015
New Revision: 383352
URL: https://svnweb.freebsd.org/changeset/ports/383352
Log:
Use ${PYTHON_SITELIBDIR} instead of hardwiring a specific python version.
Differential Revision: https://reviews.freebsd.org/D2228
Approved by: mat (mentor)
Sponsored by: Farsight Security, Inc.
Modified:
head/dns/py-pywdns/Makefile
Modified: head/dns/py-pywdns/Makefile
==============================================================================
--- head/dns/py-pywdns/Makefile Sun Apr 5 18:38:33 2015 (r383351)
+++ head/dns/py-pywdns/Makefile Sun Apr 5 18:54:30 2015 (r383352)
@@ -15,13 +15,12 @@ LICENSE_FILE= ${WRKSRC}/COPYRIGHT
LIB_DEPENDS= libwdns.so:${PORTSDIR}/dns/wdns
USE_PYTHON= distutils autoplist
-
USES= pkgconfig python
post-patch:
${REINPLACE_CMD} -e "1s+ python+ ${PYTHON_CMD}+" ${WRKSRC}/gen_pywdns_constants
post-install:
- ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/python2.7/site-packages/wdns.so
+ ${STRIP_CMD} ${STAGEDIR}/${PYTHON_SITELIBDIR}/wdns.so
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list