commit:     6b2461989d9cca3f74ac5b094fdc0d7cef442ada
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  8 22:48:24 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan  9 00:07:27 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b246198

app-shells/bashdb: run configure w/ bash

Bashisms in there.

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

 app-shells/bashdb/bashdb-5.0.1.1.2.ebuild | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/app-shells/bashdb/bashdb-5.0.1.1.2.ebuild 
b/app-shells/bashdb/bashdb-5.0.1.1.2.ebuild
index d73f4c54fbbd..b773dc20f54e 100644
--- a/app-shells/bashdb/bashdb-5.0.1.1.2.ebuild
+++ b/app-shells/bashdb/bashdb-5.0.1.1.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,8 +15,10 @@ KEYWORDS="amd64 ppc ppc64 x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
-DEPEND=">=app-shells/bash-5
-       !>=app-shells/bash-${PV:0:1}.$((${PV:2:1}+1))"
+DEPEND="
+       >=app-shells/bash-5
+       !>=app-shells/bash-${PV:0:1}.$((${PV:2:1}+1))
+"
 
 S="${WORKDIR}/${MY_P}"
 
@@ -36,5 +38,5 @@ src_prepare() {
 src_configure() {
        # This path matches the bash sources.  If we ever change bash,
        # we'll probably have to change this to match.  #591994
-       econf --with-dbg-main='$(PKGDATADIR)/bashdb-main.inc'
+       CONFIG_SHELL="${BROOT}"/bin/bash econf 
--with-dbg-main='$(PKGDATADIR)/bashdb-main.inc'
 }

Reply via email to