aboutsummaryrefslogtreecommitdiffstats
path: root/comms/gnokii/Makefile
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 /comms/gnokii/Makefile
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 'comms/gnokii/Makefile')
-rw-r--r--comms/gnokii/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/comms/gnokii/Makefile b/comms/gnokii/Makefile
index cde2a72811e3..d90c15ee44c1 100644
--- a/comms/gnokii/Makefile
+++ b/comms/gnokii/Makefile
@@ -55,8 +55,10 @@ OPTIONS= ICAL "Build with IETF iCal support" off \
LIB_DEPENDS+= ical.42:${PORTSDIR}/devel/libical
.endif
-.if exists(${LOCALBASE}/lib/libusb.so) || defined(WITH_USB)
+.if ${OSVERSION} < 800069
+. if exists(${LOCALBASE}/lib/libusb.so) || defined(WITH_USB)
LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
+. endif
.endif
.if exists(${LOCALBASE}/lib/libpcsclite.so) || defined(WITH_PCSC)