aboutsummaryrefslogtreecommitdiff
path: root/net/mpich2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/mpich2/Makefile')
-rw-r--r--net/mpich2/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/mpich2/Makefile b/net/mpich2/Makefile
index 59dba10ba8f8..7890c8e2bde7 100644
--- a/net/mpich2/Makefile
+++ b/net/mpich2/Makefile
@@ -46,9 +46,10 @@ USE_GNOME= pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-romio --enable-shared \
--docdir=${DOCSDIR}
-CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}" CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib -lexecinfo ${PTHREAD_LIBS}" \
+CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}" \
PACKAGE=${PORTNAME}
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo ${PTHREAD_LIBS}
FFLAGS?= -O2
NOCCACHE= yes
MAKE_ENV= CCACHE_DISABLE=yes PACKAGE=${PORTNAME}