sys-apps/attr: Sync with Gentoo

It's from Gentoo commit 35eb56280d7143bc6945b3cbaa209702109c85f1.
This commit is contained in:
Flatcar Buildbot 2025-06-16 07:13:17 +00:00 committed by Krzesimir Nowak
parent c1ec03bc00
commit e8e4574109
2 changed files with 10 additions and 4 deletions

View File

@ -1,9 +1,9 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit multilib-minimal
inherit dot-a multilib-minimal
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://git.savannah.gnu.org/git/${PN}.git"
@ -42,6 +42,8 @@ src_prepare() {
}
multilib_src_configure() {
use static-libs && lto-guarantee-fat
local myeconfargs=(
--bindir="${EPREFIX}"/bin
--libexecdir="${EPREFIX}"/usr/$(get_libdir)
@ -68,5 +70,6 @@ multilib_src_install_all() {
find "${ED}" -name '*.la' -delete || die
fi
strip-lto-bytecode
einstalldocs
}

View File

@ -1,9 +1,9 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit multilib-minimal
inherit dot-a multilib-minimal
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://git.savannah.gnu.org/git/${PN}.git"
@ -42,6 +42,8 @@ src_prepare() {
}
multilib_src_configure() {
use static-libs && lto-guarantee-fat
local myeconfargs=(
--bindir="${EPREFIX}"/bin
--libexecdir="${EPREFIX}"/usr/$(get_libdir)
@ -68,5 +70,6 @@ multilib_src_install_all() {
find "${ED}" -name '*.la' -delete || die
fi
strip-lto-bytecode
einstalldocs
}