aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-02-01 10:15:09 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-02-01 10:15:09 +0800
commit5234febb99a96229261170a400caf67e27dfadf6 (patch)
tree0556a8aa5aa703b1f8bcbddee39b96fdfa6f6118 /databases
parent4c59f8383de162d778ce79f49eafa6e48ab4b86e (diff)
downloadfreebsd-ports-gnome-5234febb99a96229261170a400caf67e27dfadf6.tar.gz
freebsd-ports-gnome-5234febb99a96229261170a400caf67e27dfadf6.tar.zst
freebsd-ports-gnome-5234febb99a96229261170a400caf67e27dfadf6.zip
- Fix make package when py-distribute or py-setuptools were installed
Diffstat (limited to 'databases')
-rw-r--r--databases/py-leveldb/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/py-leveldb/Makefile b/databases/py-leveldb/Makefile
index 0375921cb65e..ca6f5bb0771c 100644
--- a/databases/py-leveldb/Makefile
+++ b/databases/py-leveldb/Makefile
@@ -22,8 +22,9 @@ PYDISTUTILS_EGGINFO= ${PORTNAME}-${PORTVERSION:R}-py${PYTHON_VER}.egg-info
post-patch:
@${REINPLACE_CMD} \
+ -e 's|setuptools|do_not_use_&|' \
-e "s|^\(extra_compile_args = \).*$$|\1\['-I${LOCALBASE}/include'\]|" \
-e "s|^\(extra_link_args = \).*$$|\1\['-L${LOCALBASE}/lib', '-lleveldb'\]|" \
- ${WRKSRC}/setup.py
+ ${WRKSRC}/${PYSETUP}
.include <bsd.port.mk>