diff --git a/sys-apps/sed/sed-4.9.ebuild b/sys-apps/sed/sed-4.9-r1.ebuild similarity index 89% rename from sys-apps/sed/sed-4.9.ebuild rename to sys-apps/sed/sed-4.9-r1.ebuild index ef4336465acc5..96c05b2fc3200 100644 --- a/sys-apps/sed/sed-4.9.ebuild +++ b/sys-apps/sed/sed-4.9-r1.ebuild @@ -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 EAPI=8 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" HOMEPAGE="https://www.gnu.org/software/sed/" @@ -33,6 +33,12 @@ DEPEND="${RDEPEND} BDEPEND="nls? ( sys-devel/gettext ) verify-sig? ( sec-keys/openpgp-keys-sed )" +src_prepare() { + default + # Modern C fixes from latest autotools. bug #900382 + eautoreconf +} + src_configure() { use static && append-ldflags -static