Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Apr 2015 18:54:31 +0000 (UTC)
From:      Don Lewis <truckman@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383352 - head/dns/py-pywdns
Message-ID:  <201504051854.t35IsVXY095370@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504051854.t35IsVXY095370>