mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 01:16:59 +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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
inherit multilib-minimal
|
inherit dot-a multilib-minimal
|
||||||
|
|
||||||
if [[ ${PV} == 9999 ]] ; then
|
if [[ ${PV} == 9999 ]] ; then
|
||||||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/${PN}.git"
|
EGIT_REPO_URI="https://git.savannah.gnu.org/git/${PN}.git"
|
||||||
@ -42,6 +42,8 @@ src_prepare() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
multilib_src_configure() {
|
multilib_src_configure() {
|
||||||
|
use static-libs && lto-guarantee-fat
|
||||||
|
|
||||||
local myeconfargs=(
|
local myeconfargs=(
|
||||||
--bindir="${EPREFIX}"/bin
|
--bindir="${EPREFIX}"/bin
|
||||||
--libexecdir="${EPREFIX}"/usr/$(get_libdir)
|
--libexecdir="${EPREFIX}"/usr/$(get_libdir)
|
||||||
@ -68,5 +70,6 @@ multilib_src_install_all() {
|
|||||||
find "${ED}" -name '*.la' -delete || die
|
find "${ED}" -name '*.la' -delete || die
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
strip-lto-bytecode
|
||||||
einstalldocs
|
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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
inherit multilib-minimal
|
inherit dot-a multilib-minimal
|
||||||
|
|
||||||
if [[ ${PV} == 9999 ]] ; then
|
if [[ ${PV} == 9999 ]] ; then
|
||||||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/${PN}.git"
|
EGIT_REPO_URI="https://git.savannah.gnu.org/git/${PN}.git"
|
||||||
@ -42,6 +42,8 @@ src_prepare() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
multilib_src_configure() {
|
multilib_src_configure() {
|
||||||
|
use static-libs && lto-guarantee-fat
|
||||||
|
|
||||||
local myeconfargs=(
|
local myeconfargs=(
|
||||||
--bindir="${EPREFIX}"/bin
|
--bindir="${EPREFIX}"/bin
|
||||||
--libexecdir="${EPREFIX}"/usr/$(get_libdir)
|
--libexecdir="${EPREFIX}"/usr/$(get_libdir)
|
||||||
@ -68,5 +70,6 @@ multilib_src_install_all() {
|
|||||||
find "${ED}" -name '*.la' -delete || die
|
find "${ED}" -name '*.la' -delete || die
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
strip-lto-bytecode
|
||||||
einstalldocs
|
einstalldocs
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user