Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2014 21:55:39 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364057 - head/security/ifd-slb_rf60
Message-ID:  <53e0015b.50a1.45ba4d47@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Mon Aug  4 21:55:39 2014
New Revision: 364057
URL: http://svnweb.freebsd.org/changeset/ports/364057
QAT: https://qat.redports.org/buildarchive/r364057/

Log:
  Un-hardcode gcc

Modified:
  head/security/ifd-slb_rf60/Makefile

Modified: head/security/ifd-slb_rf60/Makefile
==============================================================================
--- head/security/ifd-slb_rf60/Makefile	Mon Aug  4 21:47:15 2014	(r364056)
+++ head/security/ifd-slb_rf60/Makefile	Mon Aug  4 21:55:39 2014	(r364057)
@@ -13,7 +13,7 @@ COMMENT=	PC/SC Lite driver for the Refle
 
 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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e0015b.50a1.45ba4d47>