sys-apps/attr: Sync with Gentoo

It's from Gentoo commit c2aab29d5dad2191f966d19e094d20d9b1b69aab.
This commit is contained in:
Flatcar Buildbot 2024-02-19 07:16:08 +00:00 committed by Krzesimir Nowak
parent a4b1f1a42f
commit 6b94e856ed
2 changed files with 2 additions and 12 deletions

View File

@ -3,7 +3,7 @@
EAPI=8
inherit multilib-minimal usr-ldscript
inherit multilib-minimal
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://git.savannah.gnu.org/git/${PN}.git"
@ -53,11 +53,6 @@ multilib_src_configure() {
multilib_src_install() {
emake DESTDIR="${D}" install
if multilib_is_native_abi; then
# We install attr into /bin, so we need the shared lib with it
gen_usr_ldscript -a attr
fi
# Add a wrapper until people upgrade.
# TODO: figure out when this was added & when we can drop it!
insinto /usr/include/attr

View File

@ -3,7 +3,7 @@
EAPI=8
inherit multilib-minimal usr-ldscript
inherit multilib-minimal
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://git.savannah.gnu.org/git/${PN}.git"
@ -53,11 +53,6 @@ multilib_src_configure() {
multilib_src_install() {
emake DESTDIR="${D}" install
if multilib_is_native_abi; then
# We install attr into /bin, so we need the shared lib with it
gen_usr_ldscript -a attr
fi
# Add a wrapper until people upgrade.
# TODO: figure out when this was added & when we can drop it!
insinto /usr/include/attr