aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2008-10-11 11:51:43 +0800
committerbms <bms@FreeBSD.org>2008-10-11 11:51:43 +0800
commitfad142efce2401191f2634831f5e067cc885b1b0 (patch)
tree3dce54d0f5ad14cf97a4b17d40646dfd6e955256 /devel
parent34d580138fbeb6540294b7e19fb683b90f62d01f (diff)
downloadfreebsd-ports-gnome-fad142efce2401191f2634831f5e067cc885b1b0.tar.gz
freebsd-ports-gnome-fad142efce2401191f2634831f5e067cc885b1b0.tar.zst
freebsd-ports-gnome-fad142efce2401191f2634831f5e067cc885b1b0.zip
Build USB and FTDI dongle support by default.
Diffstat (limited to 'devel')
-rw-r--r--devel/urjtag/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/devel/urjtag/Makefile b/devel/urjtag/Makefile
index 0cdc7a83cbca..9f0aff173a11 100644
--- a/devel/urjtag/Makefile
+++ b/devel/urjtag/Makefile
@@ -25,8 +25,8 @@ MAN1= jtag.1 bsdl2jtag.1
CONFLICTS= libflash-0.*
OPTIONS= \
- USB "Build support for USB JTAG adapters" Off \
- FTDI "Build support for FTDI-based USB JTAG adapters" Off \
+ USB "Build support for USB JTAG adapters" On \
+ FTDI "Build support for FTDI-based USB JTAG adapters" On \
JEDEC "Enable experimental JEDEC flash detection" Off
.include <bsd.port.pre.mk>
@@ -38,12 +38,12 @@ CONFIGURE_ENV+= LEX=${LOCALBASE}/bin/flex
CONFIGURE_ARGS+= --enable-jedec
.endif
-.if defined(WITH_USB) || defined(WITH_FTDI)
+.if !defined(WITHOUT_USB)
CONFIGURE_ARGS+= --with-libusb
LIB_DEPENDS+= usb:${PORTSDIR}/devel/libusb
.endif
-.if defined(WITH_FTDI)
+.if !defined(WITHOUT_FTDI)
CONFIGURE_ARGS+= --with-libftdi
LIB_DEPENDS+= ftdi.10:${PORTSDIR}/devel/libftdi
.endif