From: Mike Frysinger Date: Wed, 7 Dec 2016 08:15:58 +0000 (-0500) Subject: app-shells/bashdb: hardcode path to debugger main #591994 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=8e5c3e67e5230051c3b6690ef8da675466e2f540;p=gentoo.git 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. --- 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 63d4d411d957..4179d15f91d4 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' +}