aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2016-02-01 22:05:47 +0800
committertijl <tijl@FreeBSD.org>2016-02-01 22:05:47 +0800
commitea8799ae5823d49565113daddad0b8972b29eceb (patch)
treec50cfd0b17fe12ecb6066afcb3b8456a1b784dd8
parentccb82fc92addba9170d732c9da7f2799322ec6cb (diff)
downloadfreebsd-ports-gnome-ea8799ae5823d49565113daddad0b8972b29eceb.tar.gz
freebsd-ports-gnome-ea8799ae5823d49565113daddad0b8972b29eceb.tar.zst
freebsd-ports-gnome-ea8799ae5823d49565113daddad0b8972b29eceb.zip
The configure variable MPICH_LDFLAGS is no longer supported. There is a
separate variable for each compiler wrapper now. PR: 206655
-rw-r--r--net/mpich/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/net/mpich/Makefile b/net/mpich/Makefile
index 57f0c80ea955..254e644b719d 100644
--- a/net/mpich/Makefile
+++ b/net/mpich/Makefile
@@ -2,6 +2,7 @@
PORTNAME= mpich
PORTVERSION= 3.2
+PORTREVISION= 1
CATEGORIES= net parallel
MASTER_SITES= http://www.mpich.org/static/downloads/${DISTVERSION}/
@@ -32,8 +33,12 @@ OPTIONS_SUB= yes
FORTRAN_USES= fortran
FORTRAN_CONFIGURE_ENABLE= fortran
FORTRAN_CONFIGURE_ON= \
- MPICH_LDFLAGS="-Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER} \
- -L${LOCALBASE}/lib/gcc${_GCC_VER} -B${LOCALBASE}/bin"
+ MPICH_MPICC_LDFLAGS="${MPICH_LDFLAGS}" \
+ MPICH_MPICXX_LDFLAGS="${MPICH_LDFLAGS}" \
+ MPICH_MPIF77_LDFLAGS="${MPICH_LDFLAGS}" \
+ MPICH_MPIFORT_LDFLAGS="${MPICH_LDFLAGS}"
+MPICH_LDFLAGS= -Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER} \
+ -L${LOCALBASE}/lib/gcc${_GCC_VER} -B${LOCALBASE}/bin
PM_DESC= Process managers
GFORKER_DESC= Simple local process manager