sys-apps/sed: Sync with Gentoo

It's from Gentoo commit 93f46f4f8dfd02fc6bc515d6f8293a65dccfa154.
This commit is contained in:
Flatcar Buildbot 2024-07-01 07:18:26 +00:00 committed by Mathieu Tortuyaux
parent f7c53391c4
commit 39e0364ae8
No known key found for this signature in database
GPG Key ID: AC5CCFB52545D9B8

View File

@ -1,10 +1,10 @@
# Copyright 1999-2023 Gentoo Authors # Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=8 EAPI=8
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/sed.asc VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/sed.asc
inherit flag-o-matic verify-sig inherit autotools flag-o-matic verify-sig
DESCRIPTION="Super-useful stream editor" DESCRIPTION="Super-useful stream editor"
HOMEPAGE="https://www.gnu.org/software/sed/" HOMEPAGE="https://www.gnu.org/software/sed/"
@ -33,6 +33,12 @@ DEPEND="${RDEPEND}
BDEPEND="nls? ( sys-devel/gettext ) BDEPEND="nls? ( sys-devel/gettext )
verify-sig? ( sec-keys/openpgp-keys-sed )" verify-sig? ( sec-keys/openpgp-keys-sed )"
src_prepare() {
default
# Modern C fixes from latest autotools. bug #900382
eautoreconf
}
src_configure() { src_configure() {
use static && append-ldflags -static use static && append-ldflags -static