aboutsummaryrefslogtreecommitdiffstats
path: root/science/meep/Makefile
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2014-04-13 23:34:24 +0800
committerdanilo <danilo@FreeBSD.org>2014-04-13 23:34:24 +0800
commite40807d4623d79cc7c7940ffa24a7270d656212b (patch)
tree074a9b784450e3bf9947c4a1a35df24f1abff179 /science/meep/Makefile
parent2c48d0168314b97e4a10b701fda66eef9d573ef7 (diff)
downloadfreebsd-ports-gnome-e40807d4623d79cc7c7940ffa24a7270d656212b.tar.gz
freebsd-ports-gnome-e40807d4623d79cc7c7940ffa24a7270d656212b.tar.zst
freebsd-ports-gnome-e40807d4623d79cc7c7940ffa24a7270d656212b.zip
- Fix build [1]
- Mute REINPLACE_CMD Reported by: swills [1]
Diffstat (limited to 'science/meep/Makefile')
-rw-r--r--science/meep/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/science/meep/Makefile b/science/meep/Makefile
index 6f483dcbd417..1c1081f848db 100644
--- a/science/meep/Makefile
+++ b/science/meep/Makefile
@@ -27,6 +27,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
LD_LIBRARY_PATH= -L${LOCALBASE}/lib -L/usr/lib
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= LD_LIBRARY_PATH="${LD_LIBRARY_PATH}"
+MAKE_ARGS+= CC=${CC} CXX=${CXX}
OPTIONS_DEFINE= OPENMPI
OPTIONS_DEFAULT= OPENMPI
@@ -47,7 +48,7 @@ PLIST_SUB+= MPI="@comment " NOMPI=""
.endif
post-patch:
- ${REINPLACE_CMD} -e 's+\#\! /bin/sh+\#\! ${PREFIX}/bin/bash+' \
+ @${REINPLACE_CMD} -e 's+\#\! /bin/sh+\#\! ${PREFIX}/bin/bash+' \
-e s+\$$\(SHELL\)+${PREFIX}/bin/bash+ ${WRKSRC}/configure
.include <bsd.port.mk>