mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-27 08:31:04 +02:00
sys-libs/libcap: Sync with Gentoo
It's from Gentoo commit eef4caf31a0d3c276e17b270fc18285cae367802.
This commit is contained in:
parent
d3194e51df
commit
36f109af80
@ -1,9 +1,9 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
# Copyright 1999-2024 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 toolchain-funcs pam usr-ldscript
|
inherit multilib-minimal toolchain-funcs pam
|
||||||
|
|
||||||
if [[ ${PV} == *9999 ]]; then
|
if [[ ${PV} == *9999 ]]; then
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
@ -76,8 +76,6 @@ multilib_src_install() {
|
|||||||
# no configure, needs explicit install line #444724#c3
|
# no configure, needs explicit install line #444724#c3
|
||||||
run_emake DESTDIR="${D}" install
|
run_emake DESTDIR="${D}" install
|
||||||
|
|
||||||
gen_usr_ldscript -a cap
|
|
||||||
gen_usr_ldscript -a psx
|
|
||||||
if ! use static-libs ; then
|
if ! use static-libs ; then
|
||||||
rm "${ED}"/usr/$(get_libdir)/lib{cap,psx}.a || die
|
rm "${ED}"/usr/$(get_libdir)/lib{cap,psx}.a || die
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user