summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2021-05-23 16:06:08 +0300
committerAndrew Savchenko <bircoph@gentoo.org>2021-05-23 16:28:54 +0300
commit746271db9aab2da22a7f0ba797ddc543c41ac62c (patch)
tree407f7621a9277c5fe35339b62470a367f7d4c0a1 /sci-physics
parentdev-perl/Devel-Caller: Remove old (diff)
downloadgentoo-746271db9aab2da22a7f0ba797ddc543c41ac62c.tar.gz
gentoo-746271db9aab2da22a7f0ba797ddc543c41ac62c.tar.bz2
gentoo-746271db9aab2da22a7f0ba797ddc543c41ac62c.zip
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@gentoo.org>
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/lhapdf/lhapdf-6.2.3.ebuild3
-rw-r--r--sci-physics/lhapdf/lhapdf-6.3.0.ebuild1
2 files changed, 3 insertions, 1 deletions
diff --git a/sci-physics/lhapdf/lhapdf-6.2.3.ebuild b/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
index e67b0b741a92..03e30f85b391 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 9fc01878697b..30b859ffe8dc 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)