dev-util/pkgconf: Sync with Gentoo

It's from Gentoo commit 1f9d961bfe241cc1e14725c997f0e4853e0d43e0.
This commit is contained in:
Flatcar Buildbot 2024-03-04 07:57:52 +00:00 committed by Krzesimir Nowak
parent adda84e7fc
commit 3f28d89e9a
3 changed files with 17 additions and 2 deletions

View File

@ -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>

View File

@ -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
}

View File

@ -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
}