diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-02-01 10:15:09 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-02-01 10:15:09 +0800 |
commit | 5234febb99a96229261170a400caf67e27dfadf6 (patch) | |
tree | 0556a8aa5aa703b1f8bcbddee39b96fdfa6f6118 /databases | |
parent | 4c59f8383de162d778ce79f49eafa6e48ab4b86e (diff) | |
download | freebsd-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/Makefile | 3 |
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> |