aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/ifd-slb_rf60/Makefile5
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 \