svn commit: r473700 - head/net/mpich2
Yuri Victorovich
yuri at FreeBSD.org
Mon Jul 2 04:31:40 UTC 2018
Author: yuri
Date: Mon Jul 2 04:31:39 2018
New Revision: 473700
URL: https://svnweb.freebsd.org/changeset/ports/473700
Log:
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
Modified:
head/net/mpich2/Makefile
Modified: head/net/mpich2/Makefile
==============================================================================
--- head/net/mpich2/Makefile Mon Jul 2 04:00:29 2018 (r473699)
+++ head/net/mpich2/Makefile Mon Jul 2 04:31:39 2018 (r473700)
@@ -20,9 +20,9 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-se
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
More information about the svn-ports-all
mailing list