commit:     8e5c3e67e5230051c3b6690ef8da675466e2f540
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  7 08:15:58 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Wed Dec  7 08:15:58 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e5c3e67

app-shells/bashdb: hardcode path to debugger main #591994

This isn't a great solution, but considering bash hasn't changed its path
in decades, it shouldn't be a big deal.  It's better than relying on the
output of `strings` on the /bin/bash binary.

 app-shells/bashdb/bashdb-4.3.0.91-r2.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/app-shells/bashdb/bashdb-4.3.0.91-r2.ebuild 
b/app-shells/bashdb/bashdb-4.3.0.91-r2.ebuild
index 63d4d41..4179d15 100644
--- a/app-shells/bashdb/bashdb-4.3.0.91-r2.ebuild
+++ b/app-shells/bashdb/bashdb-4.3.0.91-r2.ebuild
@@ -27,3 +27,9 @@ src_prepare() {
        # We don't install this, so don't bother building it. #468044
        sed -i 's:texi2html:true:' doc/Makefile.in || die
 }
+
+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'
+}

Reply via email to