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.
This commit is contained in:
Jeremy Messenger 2009-07-01 03:36:17 +00:00
parent 82188d098c
commit 967de25f65
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=236838

View File

@ -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