commit:     73ae7ca006e10ab981a4a53438cfca6b74dd582d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 24 20:56:37 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 24 20:56:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73ae7ca0

dev-perl/Gtk2: EAPI 8, build w/ -std=gnu17, verbose build

Closes: https://bugs.gentoo.org/943822
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...Gtk2-1.249.930.ebuild => Gtk2-1.249.930-r1.ebuild} | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/dev-perl/Gtk2/Gtk2-1.249.930.ebuild 
b/dev-perl/Gtk2/Gtk2-1.249.930-r1.ebuild
similarity index 71%
rename from dev-perl/Gtk2/Gtk2-1.249.930.ebuild
rename to dev-perl/Gtk2/Gtk2-1.249.930-r1.ebuild
index c99ed46d16a3..2c248f7d89fd 100644
--- a/dev-perl/Gtk2/Gtk2-1.249.930.ebuild
+++ b/dev-perl/Gtk2/Gtk2-1.249.930-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 DIST_AUTHOR=XAOC
 DIST_VERSION=1.24993
-inherit virtualx perl-module
+inherit virtualx flag-o-matic perl-module
 
 DESCRIPTION="Perl bindings for GTK2"
 
@@ -36,6 +36,19 @@ PATCHES=(
        "${FILESDIR}"/${PN}-1.249.930-skip-pixbuf-test.patch
 )
 
+src_configure() {
+       # Verbose build
+       MAKEOPTS+=" NOECHO="
+
+       # Archived upstream (bug #943822
+       append-cflags -std=gnu17
+       DIST_MAKE=(
+               OPTIMIZE="${CFLAGS} -std=gnu17"
+       )
+
+       perl-module_src_configure
+}
+
 src_test() {
        virtx perl-module_src_test
 }

Reply via email to