sys-libs/gdbm: Sync with Gentoo

It's from Gentoo commit 5dc7b2c6919519ed876e5eb319e9132cde0dc316.
This commit is contained in:
Flatcar Buildbot 2025-01-13 07:10:46 +00:00 committed by Krzesimir Nowak
parent d98bbf5a5c
commit 5dad81491c

View File

@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -15,7 +15,7 @@ SRC_URI="
LICENSE="GPL-3"
SLOT="0/6" # libgdbm.so version
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="+berkdb nls +readline static-libs test"
RESTRICT="!test? ( test )"
@ -36,7 +36,7 @@ src_prepare() {
multilib_src_configure() {
# https://puszcza.gnu.org.ua/bugs/index.php?642
append-cflags -std=gnu17
append-cflags $(test-flags-CC -std=gnu17)
# gdbm doesn't appear to use either of these libraries
export ac_cv_lib_dbm_main=no ac_cv_lib_ndbm_main=no