aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-12-27 02:01:43 +0800
committermiwi <miwi@FreeBSD.org>2009-12-27 02:01:43 +0800
commitfcafe1fedc984eb080f05b1ac44ccc4ab4623f82 (patch)
tree08edcc9a8ad4d60aa669b3f0fc4e327736eec701 /math
parent08814baa1d272777a24b8c02f745bd49296b4468 (diff)
downloadfreebsd-ports-gnome-fcafe1fedc984eb080f05b1ac44ccc4ab4623f82.tar.gz
freebsd-ports-gnome-fcafe1fedc984eb080f05b1ac44ccc4ab4623f82.tar.zst
freebsd-ports-gnome-fcafe1fedc984eb080f05b1ac44ccc4ab4623f82.zip
- Fix a typographical error in CFLAGS; while here, respect {LD,CPP}FLAGS.
Submitted by: maintainer via private mail
Diffstat (limited to 'math')
-rw-r--r--math/testu01/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/math/testu01/Makefile b/math/testu01/Makefile
index fa77fbaaadf0..2a8845fc827c 100644
--- a/math/testu01/Makefile
+++ b/math/testu01/Makefile
@@ -23,9 +23,11 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --includedir="${PREFIX}/include/${PORTNAME}"
USE_GMAKE= yes
MAKE_ARGS= docdir="${DOCSDIR}" exdir="${EXAMPLESDIR}"
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
-CLAGS+= -fPIC
+CFLAGS+= -fPIC
PLIST_SUB= PORTNAME="${PORTNAME}"
post-patch: