svn commit: r325508 - head/biology/primer3

Baptiste Daroussin bapt at FreeBSD.org
Wed Aug 28 06:04:51 UTC 2013


Author: bapt
Date: Wed Aug 28 06:04:51 2013
New Revision: 325508
URL: http://svnweb.freebsd.org/changeset/ports/325508

Log:
  Make sure to respect CC and CXX, this fixes the build on head without gcc

Modified:
  head/biology/primer3/Makefile

Modified: head/biology/primer3/Makefile
==============================================================================
--- head/biology/primer3/Makefile	Wed Aug 28 06:02:08 2013	(r325507)
+++ head/biology/primer3/Makefile	Wed Aug 28 06:04:51 2013	(r325508)
@@ -11,13 +11,13 @@ COMMENT=	Primer3 helps to choose primers
 
 LICENSE=	GPLv2
 
-USE_GMAKE=	yes
+USES=		gmake
+MAKE_ARGS=	CC=${CC} CPP=${CXX}
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
 PLIST_FILES=	bin/primer3
 
 post-patch:
 	@${REINPLACE_CMD} \
-		-e 's#^CC *=#CC ?=#;' \
 		-e 's#^CFLAGS.*#CFLAGS  += \$$\(CC_OPTS\)#;' \
 		-e 's#CC_OPTS = -g#CC_OPTS =#;' \
 		-e 's#LDFLAGS = -g#LDFLAGS +=#;' \


More information about the svn-ports-all mailing list