From 967de25f657a1ef99b733fe4f0d540bc899fe3b6 Mon Sep 17 00:00:00 2001 From: Jeremy Messenger Date: Wed, 1 Jul 2009 03:36:17 +0000 Subject: [PATCH] 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. --- graphics/sane-backends/Makefile | 4 +--- 1 file changed, 1 insertion(+), 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 -.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