aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2014-04-23 19:49:08 +0800
committerkoobs <koobs@FreeBSD.org>2014-04-23 19:49:08 +0800
commit53eb5e52a7f242485552da6aaadb7745c41d7a50 (patch)
tree02c02116b507ec7b6236b5c3f6b8e8da2f430dc3 /databases
parent512985d79bfa194192d6e95eb7f45d4bf5fa2559 (diff)
downloadfreebsd-ports-gnome-53eb5e52a7f242485552da6aaadb7745c41d7a50.tar.gz
freebsd-ports-gnome-53eb5e52a7f242485552da6aaadb7745c41d7a50.tar.zst
freebsd-ports-gnome-53eb5e52a7f242485552da6aaadb7745c41d7a50.zip
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
Diffstat (limited to 'databases')
-rw-r--r--databases/py-gdbm/Makefile12
1 files changed, 6 insertions, 6 deletions
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 <bsd.port.pre.mk>
post-extract: