diff options
author | adamw <adamw@FreeBSD.org> | 2014-08-05 05:55:39 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-08-05 05:55:39 +0800 |
commit | ce04ad6f1f6359bb4dd425257e5d9556370c2dd4 (patch) | |
tree | 3d946ecbc098f5210d2a6ca8b93f79ee1a34290d /security | |
parent | fe187d7811f895dde228e6c0e7428b53b6cd54d0 (diff) | |
download | freebsd-ports-gnome-ce04ad6f1f6359bb4dd425257e5d9556370c2dd4.tar.gz freebsd-ports-gnome-ce04ad6f1f6359bb4dd425257e5d9556370c2dd4.tar.zst freebsd-ports-gnome-ce04ad6f1f6359bb4dd425257e5d9556370c2dd4.zip |
Un-hardcode gcc
Diffstat (limited to 'security')
-rw-r--r-- | security/ifd-slb_rf60/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/security/ifd-slb_rf60/Makefile b/security/ifd-slb_rf60/Makefile index 2640335b1fe2..c03ca82ce120 100644 --- a/security/ifd-slb_rf60/Makefile +++ b/security/ifd-slb_rf60/Makefile @@ -13,7 +13,7 @@ COMMENT= PC/SC Lite driver for the Reflex 62 serial smart card reader LIB_DEPENDS= libpcsclite.so:${PORTSDIR}/devel/pcsc-lite -USES= gmake +USES= gmake CFLAGS+= -fPIC SUB_LIST= pkg-message @@ -24,6 +24,9 @@ OPTIONS_DEFINE= DOCS PORTDOCS= README PLIST_FILES= lib/pcsc/drivers/libslb_rf60.so +post-patch: + @${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/Makefile + do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/pcsc/drivers/ ${INSTALL_DATA} ${WRKSRC}/libslb_rf60.so \ |