public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Locale-gettext/, dev-perl/Locale-gettext/files/
Date: Sun, 19 Jan 2025 01:31:11 +0000 (UTC)	[thread overview]
Message-ID: <1737250221.43a82adfaa4428f278163d145a4dbe13401178c9.sam@gentoo> (raw)

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


                 reply	other threads:[~2025-01-19  1:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1737250221.43a82adfaa4428f278163d145a4dbe13401178c9.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox