summaryrefslogtreecommitdiff
path: root/math/sdpa-gmp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/sdpa-gmp/Makefile')
-rw-r--r--math/sdpa-gmp/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/math/sdpa-gmp/Makefile b/math/sdpa-gmp/Makefile
index 80dd0abd5472..acf7fe49857e 100644
--- a/math/sdpa-gmp/Makefile
+++ b/math/sdpa-gmp/Makefile
@@ -30,7 +30,10 @@ LIB_DEPENDS+= spooles:${PORTSDIR}/math/spooles \
mpfr.4:${PORTSDIR}/math/mpfr
CONFIGURE_ARGS+= --with-system-spooles
-CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/spooles" CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/spooles" CFLAGS="${CFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/spooles" LDFLAGS="-L${LOCALBASE}/lib"
+CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/spooles
+LDFLAGS+= -L${LOCALBASE}/lib
+CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/spooles
+CXXFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/spooles
PLIST_SUB+= MANUALFILE=${MANUALFILE}