summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-06-06 16:03:43 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-06-06 16:03:43 +0000
commit037d8ff4ddefbd9a34b48c0d7e33b520c2662f86 (patch)
treead37075343446808586e6c3e0a5658bc0071ed0c
parentFix build with custom LOCALBASE. (diff)
LOCALBASE != PREFIX
Submitted by: pav@
Notes
Notes: svn path=/head/; revision=235318
-rw-r--r--devel/py-usb/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/py-usb/Makefile b/devel/py-usb/Makefile
index f34bb727cdb3..1c198714c3a3 100644
--- a/devel/py-usb/Makefile
+++ b/devel/py-usb/Makefile
@@ -25,7 +25,7 @@ PLIST_FILES= %%PYTHON_SITELIBDIR%%/usb.so
LIB_DEPENDS+= usb:${PORTSDIR}/devel/libusb
post-patch:
- ${REINPLACE_CMD} 's,/usr/local,${PREFIX},' ${WRKSRC}/setup.py
+ ${REINPLACE_CMD} 's,/usr/local,${LOCALBASE},' ${WRKSRC}/setup.py
.endif