aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-08-28 14:04:51 +0800
committerbapt <bapt@FreeBSD.org>2013-08-28 14:04:51 +0800
commitb025bad91649bf13fdc0ce78e6ebe2a3536439ae (patch)
tree19a7d7a0e22398f8b1e2fc6173d2a236b18fa28b /biology
parent52e2ba994c9166bcb52ec92003289aece14c12fc (diff)
downloadfreebsd-ports-graphics-b025bad91649bf13fdc0ce78e6ebe2a3536439ae.tar.gz
freebsd-ports-graphics-b025bad91649bf13fdc0ce78e6ebe2a3536439ae.tar.zst
freebsd-ports-graphics-b025bad91649bf13fdc0ce78e6ebe2a3536439ae.zip
Make sure to respect CC and CXX, this fixes the build on head without gcc
Diffstat (limited to 'biology')
-rw-r--r--biology/primer3/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/biology/primer3/Makefile b/biology/primer3/Makefile
index 2b60d38501c..217e7db3d45 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 +=#;' \