From 5234febb99a96229261170a400caf67e27dfadf6 Mon Sep 17 00:00:00 2001 From: sunpoet Date: Fri, 1 Feb 2013 02:15:09 +0000 Subject: - Fix make package when py-distribute or py-setuptools were installed --- databases/py-leveldb/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'databases') 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 -- cgit