mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Fix make package when py-distribute or py-setuptools were installed
This commit is contained in:
parent
05622c2782
commit
1274d0a8a8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311345
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user