svn commit: r311345 - head/databases/py-leveldb
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Feb 1 02:15:10 UTC 2013
Author: sunpoet
Date: Fri Feb 1 02:15:09 2013
New Revision: 311345
URL: http://svnweb.freebsd.org/changeset/ports/311345
Log:
- Fix make package when py-distribute or py-setuptools were installed
Modified:
head/databases/py-leveldb/Makefile
Modified: head/databases/py-leveldb/Makefile
==============================================================================
--- head/databases/py-leveldb/Makefile Fri Feb 1 01:24:09 2013 (r311344)
+++ head/databases/py-leveldb/Makefile Fri Feb 1 02:15:09 2013 (r311345)
@@ -22,8 +22,9 @@ PYDISTUTILS_EGGINFO= ${PORTNAME}-${PORTV
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>
More information about the svn-ports-head
mailing list