public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-perl/Locale-gettext/, dev-perl/Locale-gettext/files/
@ 2025-01-19  1:31 Sam James
  0 siblings, 0 replies; only message in thread
From: Sam James @ 2025-01-19  1:31 UTC (permalink / raw
  To: gentoo-commits

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);


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-01-19  1:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-19  1:31 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Locale-gettext/, dev-perl/Locale-gettext/files/ Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox