mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 14:41:31 +02:00
sys-apps/attr: Sync with Gentoo
It's from Gentoo commit c2aab29d5dad2191f966d19e094d20d9b1b69aab.
This commit is contained in:
parent
a4b1f1a42f
commit
6b94e856ed
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
inherit multilib-minimal usr-ldscript
|
inherit 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"
|
||||||
@ -53,11 +53,6 @@ multilib_src_configure() {
|
|||||||
multilib_src_install() {
|
multilib_src_install() {
|
||||||
emake DESTDIR="${D}" 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.
|
# Add a wrapper until people upgrade.
|
||||||
# TODO: figure out when this was added & when we can drop it!
|
# TODO: figure out when this was added & when we can drop it!
|
||||||
insinto /usr/include/attr
|
insinto /usr/include/attr
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
inherit multilib-minimal usr-ldscript
|
inherit 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"
|
||||||
@ -53,11 +53,6 @@ multilib_src_configure() {
|
|||||||
multilib_src_install() {
|
multilib_src_install() {
|
||||||
emake DESTDIR="${D}" 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.
|
# Add a wrapper until people upgrade.
|
||||||
# TODO: figure out when this was added & when we can drop it!
|
# TODO: figure out when this was added & when we can drop it!
|
||||||
insinto /usr/include/attr
|
insinto /usr/include/attr
|
||||||
|
Loading…
x
Reference in New Issue
Block a user