From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Wx/
Date: Thu, 5 Sep 2024 19:33:29 +0000 (UTC) [thread overview]
Message-ID: <1725564768.df72bb6d4a18a552c6ef7d989bf477e56bb1109f.sam@gentoo> (raw)
commit: df72bb6d4a18a552c6ef7d989bf477e56bb1109f
Author: Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Thu Sep 5 16:50:59 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 5 19:32:48 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df72bb6d
dev-perl/Wx: export CC as CXX due to xspp expectations
Previous eclass change modified behavior to explicitly set CC. This
broke expectiations for xspp as Wx was setting CC to CXX in a weak way.
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a650e223a09b0616a4e619c73cc033478fb7a61
https://metacpan.org/release/MDOOTSON/Wx-0.9932/source/build/Wx/build/MakeMaker/Any_wx_config.pm#L27
Closes: https://bugs.gentoo.org/931939
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-perl/Wx/Wx-0.993.200-r3.ebuild | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/dev-perl/Wx/Wx-0.993.200-r3.ebuild b/dev-perl/Wx/Wx-0.993.200-r3.ebuild
index 9c2559675aa1..e2efd5f8250a 100644
--- a/dev-perl/Wx/Wx-0.993.200-r3.ebuild
+++ b/dev-perl/Wx/Wx-0.993.200-r3.ebuild
@@ -7,7 +7,7 @@ WX_GTK_VER="3.2-gtk3"
DIST_AUTHOR=MDOOTSON
DIST_VERSION=0.9932
DIST_EXAMPLES=("samples/*")
-inherit wxwidgets virtualx perl-module
+inherit toolchain-funcs wxwidgets virtualx perl-module
DESCRIPTION="Perl bindings for wxGTK"
HOMEPAGE="https://wxperl.sourceforge.net/ https://metacpan.org/release/Wx"
@@ -54,6 +54,13 @@ src_prepare() {
perl-module_src_prepare
}
+src_configure() {
+ # xspp sets CC to a c++ compiler but the eclass overrides it
+ # https://bugs.gentoo.org/931939
+ export CC="$(tc-getCXX)"
+ perl-module_src_configure
+}
+
src_test() {
# the webview/t/03_threads.t test tends to hang or crash in weird
# ways depending on local configuration. eg, backtraces involving
next reply other threads:[~2024-09-05 19:33 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-05 19:33 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-05 19:33 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Wx/ Sam James
2024-01-18 8:06 Florian Schmaus
2024-01-18 8:06 Florian Schmaus
2023-06-11 15:37 Sam James
2021-04-05 17:55 Andreas K. Hüttel
2018-06-17 4:36 Kent Fredric
2018-06-06 23:23 Thomas Deutschmann
2018-03-21 0:59 Kent Fredric
2017-06-29 21:30 Andreas Hüttel
2017-06-29 21:21 Andreas Hüttel
2016-12-28 16:45 Kent Fredric
2016-09-26 12:36 Agostino Sarubbo
2016-04-30 19:29 Andreas Hüttel
2016-04-29 19:36 Andreas Hüttel
2016-03-24 11:15 Andreas Hüttel
2016-03-10 23:10 Andreas Hüttel
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=1725564768.df72bb6d4a18a552c6ef7d989bf477e56bb1109f.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