virtual/pkgconfig: Add IUSE=native-symlinks

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner
2024-02-29 11:49:59 -05:00
parent 1f9d961bfe
commit dbbb12e41a
3 changed files with 19 additions and 0 deletions

View File

@@ -7,6 +7,7 @@
# This is largely a QA smoketesting flag, and as such, should
# not be enabled by users.
dev-util/pkgconf native-symlinks
virtual/pkgconfig native-symlinks
# Ionen Wolkens <ionen@gentoo.org> (2024-02-17)
# Currently fails to build with gcc, and either way the current upstream

View File

@@ -13,4 +13,11 @@
<name>Embedded Gentoo</name>
</maintainer>
<stabilize-allarches/>
<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

@@ -0,0 +1,11 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Virtual for the pkg-config implementation"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="+native-symlinks"
RDEPEND="dev-util/pkgconf[native-symlinks(+)=]"