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

Closes: https://bugs.gentoo.org/943822
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-05-24 21:56:37 +01:00
parent 1631c4fd3d
commit 73ae7ca006

View File

@@ -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
}