summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2024-02-29 11:49:59 -0500
committerMatt Turner <mattst88@gentoo.org>2024-02-29 12:56:02 -0500
commitdbbb12e41a939afdfb08a75f27a1aa4654aac245 (patch)
treebce7149fb78035947c0310beb6bb6dbf3be1c822 /virtual
parentdev-util/pkgconf: Add IUSE=native-symlinks (diff)
downloadgentoo-dbbb12e41a939afdfb08a75f27a1aa4654aac245.tar.gz
gentoo-dbbb12e41a939afdfb08a75f27a1aa4654aac245.tar.bz2
gentoo-dbbb12e41a939afdfb08a75f27a1aa4654aac245.zip
virtual/pkgconfig: Add IUSE=native-symlinks
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'virtual')
-rw-r--r--virtual/pkgconfig/metadata.xml7
-rw-r--r--virtual/pkgconfig/pkgconfig-3.ebuild11
2 files changed, 18 insertions, 0 deletions
diff --git a/virtual/pkgconfig/metadata.xml b/virtual/pkgconfig/metadata.xml
index 8b2bd471ec24..db59825d1059 100644
--- a/virtual/pkgconfig/metadata.xml
+++ b/virtual/pkgconfig/metadata.xml
@@ -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>
diff --git a/virtual/pkgconfig/pkgconfig-3.ebuild b/virtual/pkgconfig/pkgconfig-3.ebuild
new file mode 100644
index 000000000000..d1ca92789acf
--- /dev/null
+++ b/virtual/pkgconfig/pkgconfig-3.ebuild
@@ -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(+)=]"