Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jul 2018 04:31:40 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473700 - head/net/mpich2
Message-ID:  <201807020431.w624VeJ4046970@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807020431.w624VeJ4046970>