commit: 43a82adfaa4428f278163d145a4dbe13401178c9 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Jan 19 01:30:21 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Jan 19 01:30:21 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43a82adf
dev-perl/Locale-gettext: create config.log to ease debugging Prompted by a user in #gentoo who had a configure test fail with mold (the "plugin issue"). Bug: https://bugs.gentoo.org/947174 Signed-off-by: Sam James <sam <AT> gentoo.org> .../Locale-gettext/Locale-gettext-1.70.0_p20181130.ebuild | 1 + .../files/Locale-gettext-1.70.0_p20181130-config-log.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/dev-perl/Locale-gettext/Locale-gettext-1.70.0_p20181130.ebuild b/dev-perl/Locale-gettext/Locale-gettext-1.70.0_p20181130.ebuild index 11e5476311a0..27eb95507767 100644 --- a/dev-perl/Locale-gettext/Locale-gettext-1.70.0_p20181130.ebuild +++ b/dev-perl/Locale-gettext/Locale-gettext-1.70.0_p20181130.ebuild @@ -29,4 +29,5 @@ BDEPEND="${RDEPEND} PATCHES=( "${FILESDIR}/${PN}-1.70.0-tests.patch" + "${FILESDIR}/${PN}-1.70.0_p20181130-config-log.patch" ) diff --git a/dev-perl/Locale-gettext/files/Locale-gettext-1.70.0_p20181130-config-log.patch b/dev-perl/Locale-gettext/files/Locale-gettext-1.70.0_p20181130-config-log.patch new file mode 100644 index 000000000000..cfdbd24f2177 --- /dev/null +++ b/dev-perl/Locale-gettext/files/Locale-gettext-1.70.0_p20181130-config-log.patch @@ -0,0 +1,12 @@ +Make it easier to debug configure test failures. +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -13,7 +13,7 @@ for (@ARGV) { + + my @libs; + +-my $ac = Config::AutoConf->new; ++my $ac = Config::AutoConf->new(logfile => "config.log"); + + if (defined(my $ccflags = $args{CCFLAGS})) { + $ac->check_compiler_flags($ccflags);