svn commit: r351925 - head/databases/py-gdbm

Kubilay Kocak koobs at FreeBSD.org
Wed Apr 23 11:49:09 UTC 2014


Author: koobs
Date: Wed Apr 23 11:49:08 2014
New Revision: 351925
URL: http://svnweb.freebsd.org/changeset/ports/351925
QAT: https://qat.redports.org/buildarchive/r351925/

Log:
  databases/py-gdbm: Make install PREFIX-safe
  
  Pass a PREFIX-safe Python library directory to Python --install arguments.
  
  While I'm here:
  
  - Re-order and sort USE(S) and PYDISTUTILS entries
  - Whitespace alignment

Modified:
  head/databases/py-gdbm/Makefile

Modified: head/databases/py-gdbm/Makefile
==============================================================================
--- head/databases/py-gdbm/Makefile	Wed Apr 23 11:47:25 2014	(r351924)
+++ head/databases/py-gdbm/Makefile	Wed Apr 23 11:49:08 2014	(r351925)
@@ -19,17 +19,17 @@ LIB_DEPENDS=	libgdbm.so:${PORTSDIR}/data
 
 PORTSCOUT=	ignore:1
 
-USE_PYTHON=	yes
-USE_PYDISTUTILS=yes
-USES=		tar:xz
+USES=			tar:xz
+USE_PYTHON=		yes
+USE_PYDISTUTILS=	yes
+
+PYDISTUTILS_AUTOPLIST=		yes
+PYDISTUTILS_INSTALLARGS+=	--install-lib ${PYTHONPREFIX_LIBDIR}/lib-dynload
 
 DIST_SUBDIR=	python
 DISTINFO_FILE=	${PORTSDIR}/lang/python${PYTHON_SUFFIX}/distinfo
 WRKSRC=		${PYTHON_WRKSRC}/Modules
 
-PYDISTUTILS_INSTALLARGS+=	--install-lib ${PYTHON_LIBDIR}/lib-dynload
-PYDISTUTILS_AUTOPLIST=	yes
-
 .include <bsd.port.pre.mk>
 
 post-extract:


More information about the svn-ports-head mailing list