summaryrefslogtreecommitdiff
path: root/math/freefem++/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/freefem++/Makefile')
-rw-r--r--math/freefem++/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/freefem++/Makefile b/math/freefem++/Makefile
index 5327388f5a51..1dcda777b06b 100644
--- a/math/freefem++/Makefile
+++ b/math/freefem++/Makefile
@@ -44,7 +44,7 @@ CONFIGURE_ARGS= --disable-download \
--with-umfpack="-lumfpack" \
--with-arpack="${ARPACK}"
CONFIGURE_ENV= CPPFLAGS="${MPICFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/suitesparse/include ${PTHREAD_CFLAGS}" \
- LDFLAGS="${MPILDFLAGS} -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}" \
+ LDFLAGS="${MPILDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
FC=${FC} F77=${F77} FCFLAGS=${FCFLAGS}
DOC_TARGET= freefem++doc.pdf
@@ -95,7 +95,7 @@ CONFIGURE_ARGS+= --without-mpi
pre-configure:
${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \
- -e "s|/usr/X11R6|${X11BASE}|g" \
+ -e "s|/usr/X11R6|${LOCALBASE}|g" \
${WRKSRC}/${CONFIGURE_SCRIPT}
${REINPLACE_CMD} -e "s|mpicc|${LOCALBASE}/mpich2/bin/mpicxx|" \
${WRKSRC}/src/mpi/Makefile.in