aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2011-06-21 23:00:46 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2011-06-21 23:00:46 +0000
commitf53471895d3c19d99c4b01f64fa51c82f939136a (patch)
treecf347c2481be36aaba214280e9483876eb5ffa72
parentcb1a41dc5908f579f7ba11f21b51d9b35a65d488 (diff)
downloadports-f53471895d3c19d99c4b01f64fa51c82f939136a.tar.gz
ports-f53471895d3c19d99c4b01f64fa51c82f939136a.zip
Notes
-rw-r--r--misc/gplink/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/gplink/Makefile b/misc/gplink/Makefile
index 33636aeb4372..ea5c6b3c6379 100644
--- a/misc/gplink/Makefile
+++ b/misc/gplink/Makefile
@@ -8,7 +8,8 @@
PORTNAME= gplink
PORTVERSION= 1.5
CATEGORIES= misc
-MASTER_SITES= http://gp2x.org/gp32/gplink/
+MASTER_SITES= http://gp2x.org/gp32/gplink/ \
+ http://www.gnu-darwin.org/distfiles/
MAINTAINER= ports@FreeBSD.org
COMMENT= A GP32 USB linker tool
@@ -25,6 +26,7 @@ LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
.endif
post-patch:
+ @${REINPLACE_CMD} -e 's/^\(CC[^g]*\)gcc$$/\1${CC}/' ${WRKSRC}/Makefile
.if ${OSVERSION} >= 800069
@${REINPLACE_CMD} -E -e 's,`libusb-config --cflags`,,g' \
-e 's,`libusb-config --libs`,-lusb,g' \