summaryrefslogtreecommitdiff
path: root/net/mpich2
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-07-02 04:31:39 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-07-02 04:31:39 +0000
commit892d4a6b0e68422110144073f33b1c1bd5acb151 (patch)
treeade1b5a2b4307c1fea5b0145c97ae3661cc68505 /net/mpich2
parentMark ports broken on mips64 that are already broken on powerpc64. In (diff)
net/mpich2: Unbreak build by setting BASH_SHELL environment variable
Without it it was failing for me with wrong bash interpreter path in all executables (ex. mpicxx). Not sure why central builds weren't failing, but configrure expects BASH_SHELL to be set. Also order USExx section. Approved by: portmgr
Notes
Notes: svn path=/head/; revision=473700
Diffstat (limited to 'net/mpich2')
-rw-r--r--net/mpich2/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/mpich2/Makefile b/net/mpich2/Makefile
index c6dd3afc28ab..e22a83c61f0a 100644
--- a/net/mpich2/Makefile
+++ b/net/mpich2/Makefile
@@ -20,9 +20,9 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
BUILD_DEPENDS= bash:shells/bash
RUN_DEPENDS= bash:shells/bash
-GNU_CONFIGURE= yes
USES= libtool:keepla localbase fortran perl5 \
pkgconfig python:2.7
+GNU_CONFIGURE= yes
USE_GCC= yes
USE_LDCONFIG= yes
USE_PERL5= build
@@ -44,7 +44,8 @@ CONFIGURE_ARGS= --enable-romio --enable-shared \
CONFIGURE_ENV= FCFLAGS="${FFLAGS}" \
MPI_CFLAGS="-I${LOCALBASE}/include" \
PACKAGE="${PORTNAME}" \
- PTHREAD_LIBS="-lpthread"
+ PTHREAD_LIBS="-lpthread" \
+ BASH_SHELL="${LOCALBASE}/bin/bash"
.if ${FFLAGS} == "-O"
FFLAGS= -O2