diff options
author | truckman <truckman@FreeBSD.org> | 2015-04-06 02:54:30 +0800 |
---|---|---|
committer | truckman <truckman@FreeBSD.org> | 2015-04-06 02:54:30 +0800 |
commit | b29c5b783240029c07db8adccb9711875ee8bcd2 (patch) | |
tree | a28aee1f8459abe48f9dde93d6ded6394d904140 /dns | |
parent | 111392e7ce5fe54169c596baa5438c8b6b2f4593 (diff) | |
download | freebsd-ports-gnome-b29c5b783240029c07db8adccb9711875ee8bcd2.tar.gz freebsd-ports-gnome-b29c5b783240029c07db8adccb9711875ee8bcd2.tar.zst freebsd-ports-gnome-b29c5b783240029c07db8adccb9711875ee8bcd2.zip |
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.
Diffstat (limited to 'dns')
-rw-r--r-- | dns/py-pywdns/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dns/py-pywdns/Makefile b/dns/py-pywdns/Makefile index bd97a52e1f3e..f2ed409cc9f0 100644 --- a/dns/py-pywdns/Makefile +++ b/dns/py-pywdns/Makefile @@ -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> |