aboutsummaryrefslogtreecommitdiffstats
path: root/devel/piklab
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2009-03-10 01:15:43 +0800
committerstas <stas@FreeBSD.org>2009-03-10 01:15:43 +0800
commit08bfa7c4aa027efa35afd531304e476e4f713b80 (patch)
tree31b7120f0eb5ff46ed252641018a5ff19ff41fc3 /devel/piklab
parent982434000a36499258eff52f7032254355edca7a (diff)
downloadfreebsd-ports-gnome-08bfa7c4aa027efa35afd531304e476e4f713b80.tar.gz
freebsd-ports-gnome-08bfa7c4aa027efa35afd531304e476e4f713b80.tar.zst
freebsd-ports-gnome-08bfa7c4aa027efa35afd531304e476e4f713b80.zip
- Chase libusb20 rename in r189585.
- Mark sane-backends broken on current due to changes in USB stack. Reviewed by: thompsa (old version), miwi Tested by: miwi
Diffstat (limited to 'devel/piklab')
-rw-r--r--devel/piklab/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/devel/piklab/Makefile b/devel/piklab/Makefile
index 9cc48f92f066..ceb47d490fe6 100644
--- a/devel/piklab/Makefile
+++ b/devel/piklab/Makefile
@@ -15,8 +15,6 @@ MASTER_SITE_SUBDIR=piklab
MAINTAINER= bms@FreeBSD.org
COMMENT= KDE IDE for microcontroller development
-LIB_DEPENDS= usb:${PORTSDIR}/devel/libusb
-
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
USE_BZIP2= yes
@@ -31,4 +29,10 @@ MAN1= piklab-hex.1 piklab-prog.1 piklab.1x
BROKEN= Does not compile on sparc64
.endif
+.if ${OSVERSION} < 800069
+LIB_DEPENDS+= usb:${PORTSDIR}/devel/libusb
+. else
+CONFIGURE_ENV+= LIBUSB_LIBS="-lusb"
+.endif
+
.include <bsd.port.post.mk>