commit:     2c7436211b06251926ee7ae1e15dc0b79d4f4666
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 18 04:49:19 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 18 04:49:19 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c743621

app-containers/crun: workaround bashism in configure

Until patch is merged.

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

 app-containers/crun/crun-1.4.2.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/app-containers/crun/crun-1.4.2.ebuild 
b/app-containers/crun/crun-1.4.2.ebuild
index 5de80d420e29..7c6b28ed5bef 100644
--- a/app-containers/crun/crun-1.4.2.ebuild
+++ b/app-containers/crun/crun-1.4.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2021 Gentoo Authors
+# Copyright 2019-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -45,7 +45,9 @@ src_configure() {
                $(usex static-libs '--enable-shared --enable-static' 
'--enable-shared --disable-static' '' '')
        )
 
-       econf "${myeconfargs[@]}"
+       # Bashism workaround for https://github.com/containers/crun/pull/880
+       # Drop once fixed in a release.
+       CONFIG_SHELL="${BROOT}/bin/bash" econf "${myeconfargs[@]}"
 }
 
 src_compile() {

Reply via email to