commit:     746271db9aab2da22a7f0ba797ddc543c41ac62c
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sun May 23 13:06:08 2021 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sun May 23 13:28:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=746271db

sci-physics/lhapdf: fix build with /bin/sh != bash

Request CONFIG_SHELL=/bin/bash explicitly, otherwise obscure
configure problems may occur leading to a broken installation.

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>

 sci-physics/lhapdf/lhapdf-6.2.3.ebuild | 3 ++-
 sci-physics/lhapdf/lhapdf-6.3.0.ebuild | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/sci-physics/lhapdf/lhapdf-6.2.3.ebuild 
b/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
index e67b0b741a9..03e30f85b39 100644
--- a/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -37,6 +37,7 @@ BDEPEND="
 S="${WORKDIR}/${MY_PF}"
 
 src_configure() {
+       CONFIG_SHELL="${EPREFIX}/bin/bash" \
        econf \
                --disable-static \
                $(use_enable python)

diff --git a/sci-physics/lhapdf/lhapdf-6.3.0.ebuild 
b/sci-physics/lhapdf/lhapdf-6.3.0.ebuild
index 9fc01878697..30b859ffe8d 100644
--- a/sci-physics/lhapdf/lhapdf-6.3.0.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.3.0.ebuild
@@ -37,6 +37,7 @@ BDEPEND="
 S="${WORKDIR}/${MY_PF}"
 
 src_configure() {
+       CONFIG_SHELL="${EPREFIX}/bin/bash" \
        econf \
                --disable-static \
                $(use_enable python)

Reply via email to