summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2009-07-01 03:36:17 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2009-07-01 03:36:17 +0000
commit967de25f657a1ef99b733fe4f0d540bc899fe3b6 (patch)
tree26aa906093cebedd59aa5db78e443e6b2528c4a4
parent- Update to r38c (diff)
Disable usb support by default in -CURRENT instead of mark it as BROKEN. It's
a bit silly to mark it as BROKEN when it can be disable without stop port that I am trying to install.
Notes
Notes: svn path=/head/; revision=236838
-rw-r--r--graphics/sane-backends/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/graphics/sane-backends/Makefile b/graphics/sane-backends/Makefile
index 4b3d3a4e5392..c5c3e5848721 100644
--- a/graphics/sane-backends/Makefile
+++ b/graphics/sane-backends/Makefile
@@ -45,13 +45,11 @@ USE_LDCONFIG= yes
.include "Makefile.man"
.include <bsd.port.pre.mk>
-.if defined(WITHOUT_USB)
+.if (defined(WITHOUT_USB) || ${OSVERSION} > 800000)
CONFIGURE_ARGS+= --disable-libusb
.else
.if ${OSVERSION} < 800069
LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
-.else
-BROKEN= does not compile
.endif
.endif