commit: 6545573120c2238469c76b383358f507bfab6e58 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Thu Sep 14 20:43:29 2023 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Thu Sep 14 20:45:31 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65455731
app-text/xmlto: pass BASH=/bin/bash to configure This ensures the same xmlto script can be used on merged-usr and split-usr systems. Closes: https://bugs.gentoo.org/912286 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> .../xmlto/{xmlto-0.0.28-r10.ebuild => xmlto-0.0.28-r11.ebuild} | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/app-text/xmlto/xmlto-0.0.28-r10.ebuild b/app-text/xmlto/xmlto-0.0.28-r11.ebuild similarity index 90% rename from app-text/xmlto/xmlto-0.0.28-r10.ebuild rename to app-text/xmlto/xmlto-0.0.28-r11.ebuild index 547cd6787bf8..bf44cdb5d846 100644 --- a/app-text/xmlto/xmlto-0.0.28-r10.ebuild +++ b/app-text/xmlto/xmlto-0.0.28-r11.ebuild @@ -15,6 +15,7 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv IUSE="latex text" RDEPEND=" + app-shells/bash:0 app-text/docbook-xsl-stylesheets app-text/docbook-xml-dtd:4.2 dev-libs/libxslt @@ -48,9 +49,12 @@ src_prepare() { } src_configure() { - # We don't want the script to detect /bin/sh if it is bash. - export ac_cv_path_BASH="${BASH}" has_version sys-apps/util-linux || export GETOPT=getopt-long - econf + local args=( + # Ensure we always get a #!/bin/bash shebang in xmlto, bug 912286 + BASH="${EPREFIX}/bin/bash" + ) + + econf "${args[@]}" }