aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-08-23 04:36:14 +0800
committermiwi <miwi@FreeBSD.org>2009-08-23 04:36:14 +0800
commitc93d227dc68916327b54436a90669fe65fbfdfed (patch)
treed544c3df4457b46b961b251714592b17a30172f6 /net-im
parent860c139934a0c6cb000c57244405bea05d56ed13 (diff)
downloadfreebsd-ports-graphics-c93d227dc68916327b54436a90669fe65fbfdfed.tar.gz
freebsd-ports-graphics-c93d227dc68916327b54436a90669fe65fbfdfed.tar.zst
freebsd-ports-graphics-c93d227dc68916327b54436a90669fe65fbfdfed.zip
- Fix build with CUSTOM PREFIX
PR: 137962 Submitted by: Wen Heping <wenheping@gmail.com> (maintainer)
Diffstat (limited to 'net-im')
-rw-r--r--net-im/py-pyxmpp/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-im/py-pyxmpp/Makefile b/net-im/py-pyxmpp/Makefile
index 4d1e3e8d750..815fd18130f 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