aboutsummaryrefslogtreecommitdiffstats
path: root/print/hplip3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/hplip3/Makefile')
-rw-r--r--print/hplip3/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/print/hplip3/Makefile b/print/hplip3/Makefile
index 78f07fc5d5e3..6078d44e9e0b 100644
--- a/print/hplip3/Makefile
+++ b/print/hplip3/Makefile
@@ -18,7 +18,6 @@ COMMENT= Drivers and utilities for HP Printers and All-in-One devices
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
sane.1:${PORTSDIR}/graphics/sane-backends \
cups.2:${PORTSDIR}/print/cups-base \
- usb:${PORTSDIR}/devel/libusb \
netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/reportlab/__init__.py:${PORTSDIR}/print/py-reportlab2 \
@@ -54,6 +53,10 @@ PLIST_SUB+= PORTVERSION=${PORTVERSION} IJSVER=2.7.4
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 800069
+LIB_DEPENDS+= usb:${PORTSDIR}/devel/libusb
+.endif
+
.if !defined(WITHOUT_GUI) || exists(${LOCALBASE}/bin/pylupdate)
RUN_DEPENDS+= pylupdate:${PORTSDIR}/x11-toolkits/py-qt
CONFIGURE_ARGS+= --enable-gui-build