mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 12:16:41 +02:00
dev-util/pkgconf: Sync with Gentoo
It's from Gentoo commit 1f9d961bfe241cc1e14725c997f0e4853e0d43e0.
This commit is contained in:
parent
adda84e7fc
commit
3f28d89e9a
@ -11,4 +11,11 @@
|
||||
<remote-id type="github">pkgconf/pkgconf</remote-id>
|
||||
<remote-id type="cpe">cpe:/a:pkgconf:pkgconf</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="native-symlinks">
|
||||
Install generic symlinks like pkgconf and pkg-config.
|
||||
If this flag is disabled, only CHOST-prefixed pkg-config
|
||||
executables will be available to end users and ebuilds.
|
||||
</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
||||
@ -18,7 +18,7 @@ HOMEPAGE="https://gitea.treehouse.systems/ariadne/pkgconf"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0/4"
|
||||
IUSE="test"
|
||||
IUSE="+native-symlinks test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
@ -65,5 +65,9 @@ multilib_src_install() {
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
if ! use native-symlinks; then
|
||||
rm "${ED}"/usr/bin/{pkgconf,pkg-config}$(get_exeext) || die
|
||||
fi
|
||||
|
||||
find "${ED}" -type f -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
@ -18,7 +18,7 @@ HOMEPAGE="https://gitea.treehouse.systems/ariadne/pkgconf"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0/4"
|
||||
IUSE="test"
|
||||
IUSE="+native-symlinks test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
@ -65,5 +65,9 @@ multilib_src_install() {
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
if ! use native-symlinks; then
|
||||
rm "${ED}"/usr/bin/{pkgconf,pkg-config}$(get_exeext) || die
|
||||
fi
|
||||
|
||||
find "${ED}" -type f -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user