diff options
author | bapt <bapt@FreeBSD.org> | 2013-08-28 14:04:51 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-08-28 14:04:51 +0800 |
commit | b025bad91649bf13fdc0ce78e6ebe2a3536439ae (patch) | |
tree | 19a7d7a0e22398f8b1e2fc6173d2a236b18fa28b | |
parent | 52e2ba994c9166bcb52ec92003289aece14c12fc (diff) | |
download | freebsd-ports-gnome-b025bad91649bf13fdc0ce78e6ebe2a3536439ae.tar.gz freebsd-ports-gnome-b025bad91649bf13fdc0ce78e6ebe2a3536439ae.tar.zst freebsd-ports-gnome-b025bad91649bf13fdc0ce78e6ebe2a3536439ae.zip |
Make sure to respect CC and CXX, this fixes the build on head without gcc
-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 +=#;' \ |