diff options
Diffstat (limited to 'devel/libccid/Makefile')
-rw-r--r-- | devel/libccid/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/libccid/Makefile b/devel/libccid/Makefile index 0f2b2455b28f..21b4ea0772a1 100644 --- a/devel/libccid/Makefile +++ b/devel/libccid/Makefile @@ -12,8 +12,7 @@ MASTER_SITES= http://alioth.debian.org/frs/download.php/2656/ MAINTAINER= arved@FreeBSD.org COMMENT= Generic USB CCID (Chip/Smart Card Interface Devices) driver -LIB_DEPENDS= usb-0.1.8:${PORTSDIR}/devel/libusb \ - pcsclite.1:${PORTSDIR}/devel/pcsc-lite +LIB_DEPENDS= pcsclite.1:${PORTSDIR}/devel/pcsc-lite USE_BZIP2= yes GNU_CONFIGURE= yes @@ -32,6 +31,10 @@ MAN8= Kobil_mIDentity_switch.8 .include <bsd.port.pre.mk> +.if ${OSVERSION} < 800069 +LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb +.endif + post-patch: ${REINPLACE_CMD} -e "s,use warnings;,," ${WRKSRC}/src/create_Info_plist.pl ${REINPLACE_CMD} -e "s,ndef __APPLE__, !(__APPLE__ || __FreeBSD__)," ${WRKSRC}/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch.c |