From 8e5c3e67e5230051c3b6690ef8da675466e2f540 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 7 Dec 2016 03:15:58 -0500 Subject: [PATCH] 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 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' +} -- 2.26.2