aboutsummaryrefslogtreecommitdiff
path: root/devel/libnfc/Makefile
diff options
context:
space:
mode:
authorRomain Tartière <romain@FreeBSD.org>2010-02-22 14:02:55 +0000
committerRomain Tartière <romain@FreeBSD.org>2010-02-22 14:02:55 +0000
commita2002a3871d01ae4cf5d87f629ff1fcf73bc0800 (patch)
tree7c0e341b1fc4ea05fccf75e715fd70ceacb46c22 /devel/libnfc/Makefile
parent8062c14d44a256beb764d6eb22d8f5811921635f (diff)
Notes
Diffstat (limited to 'devel/libnfc/Makefile')
-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: