aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorromain <romain@FreeBSD.org>2010-02-22 22:02:55 +0800
committerromain <romain@FreeBSD.org>2010-02-22 22:02:55 +0800
commitec90f33712cfc7f9fa7fc392728b7566e53ef4f3 (patch)
treeb7b821f0499807c970e36a5814f20f1f778bd67c /devel
parentdcf332f37793063de9dbc298afc3334d15e47324 (diff)
downloadfreebsd-ports-gnome-ec90f33712cfc7f9fa7fc392728b7566e53ef4f3.tar.gz
freebsd-ports-gnome-ec90f33712cfc7f9fa7fc392728b7566e53ef4f3.tar.zst
freebsd-ports-gnome-ec90f33712cfc7f9fa7fc392728b7566e53ef4f3.zip
- Fix OPTIONS to match the porter's handbook.
Approved by: flz (mentor) Feature safe: yes
Diffstat (limited to 'devel')
-rw-r--r--devel/libnfc/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/devel/libnfc/Makefile b/devel/libnfc/Makefile
index e10d45018ef8..02d44c514cdb 100644
--- a/devel/libnfc/Makefile
+++ b/devel/libnfc/Makefile
@@ -27,23 +27,23 @@ MAN1= nfc-mfclassic.1 nfc-emulate.1 nfc-list.1 nfc-mfultralight.1 \
.include <bsd.port.pre.mk>
-.if defined(WITH_PCSC)
+.if defined(WITHOUT_PCSC)
+CONFIGURE_ARGS+=--disable-pcsc-lite
+.else
LIB_DEPENDS+= pcsclite.1:${PORTSDIR}/devel/pcsc-lite
RUN_DEPENDS+= RSA_SecurID_getpasswd:${PORTSDIR}/devel/libccid
CONFIGURE_ARGS+=--enable-pcsc-lite
-.else
-CONFIGURE_ARGS+=--disable-pcsc-lite
.endif
-.if defined(WITH_USB)
+.if defined(WITHOUT_USB)
+CONFIGURE_ARGS+=--disable-libusb
+.else
CONFIGURE_ARGS+=--enable-libusb
.if ${OSVERSION} < 800069
LIB_DEPENDS+= usb-0.1:${PORTSDIR}/devel/libusb
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
.endif
-.else
-CONFIGURE_ARGS+=--disable-libusb
.endif
post-install: