Date: Wed, 28 Aug 2013 06:04:51 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r325508 - head/biology/primer3 Message-ID: <201308280604.r7S64psa071694@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 +=#;' \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308280604.r7S64psa071694>