diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2009-08-22 20:36:14 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2009-08-22 20:36:14 +0000 |
commit | 6c8f0501a601378fead721050bb64b058e3467b9 (patch) | |
tree | 7cd695aafbb7c85e10cda33f3a063590fe77d66c /net-im | |
parent | - bsd.port.mk - Remove ${INDEXDIR}/${INDEXFILE}.bz2 after fetchindex is bein... (diff) |
- Fix build with CUSTOM PREFIX
PR: 137962
Submitted by: Wen Heping <wenheping@gmail.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=240132
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/py-pyxmpp/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net-im/py-pyxmpp/Makefile b/net-im/py-pyxmpp/Makefile index 4d1e3e8d750c..815fd18130f2 100644 --- a/net-im/py-pyxmpp/Makefile +++ b/net-im/py-pyxmpp/Makefile @@ -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 |