aboutsummaryrefslogtreecommitdiff
path: root/sysutils/usbutils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/usbutils/Makefile')
-rw-r--r--sysutils/usbutils/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/usbutils/Makefile b/sysutils/usbutils/Makefile
index ee636e9a5d99..c3538ffce15c 100644
--- a/sysutils/usbutils/Makefile
+++ b/sysutils/usbutils/Makefile
@@ -13,8 +13,6 @@ MASTER_SITE_SUBDIR= linux-usb
MAINTAINER= brix@FreeBSD.org
COMMENT= Utility for listing USB devices
-LIB_DEPENDS= usb-0.1:${PORTSDIR}/devel/libusb
-
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
@@ -25,6 +23,10 @@ PORTDOCS= AUTHORS ChangeLog NEWS README
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 800069
+LIB_DEPENDS+= usb-0.1:${PORTSDIR}/devel/libusb
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}