mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-perl/DBD-Pg: build w/ -std=gnu17, update deps
* Build w/ -std=gnu17. It's been reported upstream already but no response yet. We especially want various dev-perl/* to be buildable right now as 5.42 is here now. * Drop useless Perl virtual deps while here. Closes: https://bugs.gentoo.org/944038 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
87f4daada7
commit
273a01dab1
@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DIST_AUTHOR=TURNSTEP
|
||||
inherit perl-module
|
||||
inherit flag-o-matic perl-module
|
||||
|
||||
DESCRIPTION="PostgreSQL database driver for the DBI module"
|
||||
|
||||
@ -12,7 +12,6 @@ SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-version
|
||||
>=dev-perl/DBI-1.614.0
|
||||
dev-db/postgresql:*
|
||||
"
|
||||
@ -23,9 +22,7 @@ BDEPEND="
|
||||
${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.580.0
|
||||
test? (
|
||||
virtual/perl-File-Temp
|
||||
>=virtual/perl-Test-Simple-0.880.0
|
||||
virtual/perl-Time-HiRes
|
||||
)
|
||||
"
|
||||
|
||||
@ -51,6 +48,13 @@ src_prepare() {
|
||||
perl-module_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# https://github.com/bucardo/dbdpg/issues/135 (bug #944038)
|
||||
append-cflags -std=gnu17
|
||||
|
||||
perl-module_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local MODULES=(
|
||||
"Bundle::DBD::Pg v${PV}"
|
||||
Loading…
x
Reference in New Issue
Block a user