commit:     e92d7defc556a644d428f7d6037ada164ed24302
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 20 02:05:40 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 20 02:05:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e92d7def

sci-libs/adolc: temporarily enforce CONFIG_SHELL

While we have a dash patch already, it needs some more work
and a bunch of our patches should really be upstreamed anyway.

Need this for a dependency so this works for now.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/adolc/adolc-2.7.2.ebuild | 3 ++-
 sci-libs/adolc/adolc-9999.ebuild  | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/sci-libs/adolc/adolc-2.7.2.ebuild 
b/sci-libs/adolc/adolc-2.7.2.ebuild
index db20fd6e78a..009ee6a78ed 100644
--- a/sci-libs/adolc/adolc-2.7.2.ebuild
+++ b/sci-libs/adolc/adolc-2.7.2.ebuild
@@ -45,7 +45,8 @@ src_configure() {
        # needs work. Revisit with >=2.7.3.
        # https://bugs.gentoo.org/730750
        # https://github.com/coin-or/ADOL-C/issues/20
-       econf \
+       # Can drop CONFIG_SHELL once fixed up dash/bashisms patch
+       CONFIG_SHELL="${BROOT}/bin/bash" econf \
                --disable-python \
                --disable-static \
                --enable-advanced-branching \

diff --git a/sci-libs/adolc/adolc-9999.ebuild b/sci-libs/adolc/adolc-9999.ebuild
index cbdfaa7bdb8..b4eaac107e7 100644
--- a/sci-libs/adolc/adolc-9999.ebuild
+++ b/sci-libs/adolc/adolc-9999.ebuild
@@ -45,7 +45,8 @@ src_prepare() {
 }
 
 src_configure() {
-       econf \
+       # Can drop CONFIG_SHELL once fixed up dash/bashisms patch
+       CONFIG_SHELL="${BROOT}/bin/bash" econf \
                --disable-python \
                --disable-static \
                --enable-advanced-branching \

Reply via email to