mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-14 08:26:57 +02:00
sys-apps/attr: Sync with Gentoo
It's from Gentoo commit 35eb56280d7143bc6945b3cbaa209702109c85f1.
This commit is contained in:
parent
c1ec03bc00
commit
e8e4574109
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user