diff options
author | miwi <miwi@FreeBSD.org> | 2009-08-23 04:36:14 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-08-23 04:36:14 +0800 |
commit | c93d227dc68916327b54436a90669fe65fbfdfed (patch) | |
tree | d544c3df4457b46b961b251714592b17a30172f6 /net-im | |
parent | 860c139934a0c6cb000c57244405bea05d56ed13 (diff) | |
download | freebsd-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/Makefile | 4 |
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 |