From 53eb5e52a7f242485552da6aaadb7745c41d7a50 Mon Sep 17 00:00:00 2001 From: koobs Date: Wed, 23 Apr 2014 11:49:08 +0000 Subject: 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 --- databases/py-gdbm/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'databases') diff --git a/databases/py-gdbm/Makefile b/databases/py-gdbm/Makefile index d095076a0c77..7e547066face 100644 --- a/databases/py-gdbm/Makefile +++ b/databases/py-gdbm/Makefile @@ -19,17 +19,17 @@ LIB_DEPENDS= libgdbm.so:${PORTSDIR}/databases/gdbm 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 post-extract: -- cgit