diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-08-28 06:04:51 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-08-28 06:04:51 +0000 |
commit | dcf5d98f789577099e911dcbb597512e94c6bdc9 (patch) | |
tree | 19a7d7a0e22398f8b1e2fc6173d2a236b18fa28b /biology/primer3 | |
parent | 9b29f589642fbc40e291fc9f3803ab3ef2da2b5c (diff) | |
download | ports-dcf5d98f789577099e911dcbb597512e94c6bdc9.tar.gz ports-dcf5d98f789577099e911dcbb597512e94c6bdc9.zip |
Make sure to respect CC and CXX, this fixes the build on head without gcc
Notes
Notes:
svn path=/head/; revision=325508
Diffstat (limited to 'biology/primer3')
-rw-r--r-- | biology/primer3/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/biology/primer3/Makefile b/biology/primer3/Makefile index 2b60d38501c8..217e7db3d458 100644 --- a/biology/primer3/Makefile +++ b/biology/primer3/Makefile @@ -11,13 +11,13 @@ COMMENT= Primer3 helps to choose primers for PCR reactions 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 +=#;' \ |