mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- Fix build with CUSTOM PREFIX
PR: 137962 Submitted by: Wen Heping <wenheping@gmail.com> (maintainer)
This commit is contained in:
parent
abdb1ddb8d
commit
6c8f0501a6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=240132
@ -27,8 +27,8 @@ post-patch:
|
||||
@${GREP} -lr '/usr/bin/python' ${WRKSRC} | \
|
||||
${XARGS} ${REINPLACE_CMD} -e "s!/usr/bin/python!${PYTHON_CMD}!"
|
||||
@${REINPLACE_CMD} -e '/include_dirs =/s|]|,"${LOCALBASE}/include"]|' \
|
||||
-e '/library_dirs =/s|]|"${LOCALBASE}/lib"]|' ${WRKSRC}/setup.py
|
||||
|
||||
-e '/library_dirs =/s|]|"${LOCALBASE}/lib"]|' \
|
||||
-e 's#/usr/local#${LOCALBASE}#g' ${WRKSRC}/setup.py
|
||||
post-install:
|
||||
@${ECHO} "pyxmpp" > ${PYTHON_SITELIBDIR}/pyxmpp.pth
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user