aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-06-06 14:09:33 +0800
committeritetcu <itetcu@FreeBSD.org>2009-06-06 14:09:33 +0800
commit2aadd0c48a4580488681abbc6f52340e9842a407 (patch)
tree2f55eadae20f3593e644334c9a043a1e082bb4ab /devel
parent01f8b216cb430efa4d373765fe9bd56e6b90b528 (diff)
downloadfreebsd-ports-gnome-2aadd0c48a4580488681abbc6f52340e9842a407.tar.gz
freebsd-ports-gnome-2aadd0c48a4580488681abbc6f52340e9842a407.tar.zst
freebsd-ports-gnome-2aadd0c48a4580488681abbc6f52340e9842a407.zip
Fix build with custom LOCALBASE.
Repoted by: QATty
Diffstat (limited to 'devel')
-rw-r--r--devel/py-usb/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/py-usb/Makefile b/devel/py-usb/Makefile
index c4938739ed02..f34bb727cdb3 100644
--- a/devel/py-usb/Makefile
+++ b/devel/py-usb/Makefile
@@ -23,6 +23,10 @@ PLIST_FILES= %%PYTHON_SITELIBDIR%%/usb.so
.if ${OSVERSION} < 800069
LIB_DEPENDS+= usb:${PORTSDIR}/devel/libusb
+
+post-patch:
+ ${REINPLACE_CMD} 's,/usr/local,${PREFIX},' ${WRKSRC}/setup.py
+
.endif
.include <bsd.port.post.mk>