dev-util/pkgconfig: rename 'internal-glib' to 'build'
authorMike Gilbert <floppym@gentoo.org>
Tue, 5 Sep 2017 16:10:52 +0000 (12:10 -0400)
committerMike Gilbert <floppym@gentoo.org>
Tue, 5 Sep 2017 21:04:21 +0000 (17:04 -0400)
This avoids a circular dependency on dev-libs/glib during catalyst
stage1 builds.

Package-Manager: Portage-2.3.6_p39, Repoman-2.3.3_p17

dev-util/pkgconfig/pkgconfig-0.29.2.ebuild
dev-util/pkgconfig/pkgconfig-9999.ebuild

index b8a7cf7dace5eb41645be5e765353edaef7213eb..f82adcd840b9ab2132d5cfad839c8f563000fdad 100644 (file)
@@ -25,9 +25,9 @@ HOMEPAGE="https://pkgconfig.freedesktop.org/wiki/"
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="elibc_FreeBSD elibc_glibc hardened internal-glib"
+IUSE="build elibc_FreeBSD elibc_glibc hardened"
 
-RDEPEND="!internal-glib? ( >=dev-libs/glib-2.34.3[${MULTILIB_USEDEP}] )
+RDEPEND="!build? ( >=dev-libs/glib-2.34.3[${MULTILIB_USEDEP}] )
        !dev-util/pkgconf[pkg-config]
        !dev-util/pkg-config-lite
        !dev-util/pkgconfig-openbsd[pkg-config]
@@ -61,7 +61,7 @@ src_prepare() {
 multilib_src_configure() {
        local myconf
 
-       if use internal-glib; then
+       if use build; then
                myconf+=' --with-internal-glib'
                # non-glibc platforms use GNU libiconv, but configure needs to
                # know about that not to get confused when it finds something
index 31f6de36737e129170759b69c9859ad41961be86..cee5a59070d8fbddea12a58a302f7bccc8a1012d 100644 (file)
@@ -25,9 +25,9 @@ HOMEPAGE="https://pkgconfig.freedesktop.org/wiki/"
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="elibc_FreeBSD elibc_glibc hardened internal-glib"
+IUSE="build elibc_FreeBSD elibc_glibc hardened"
 
-RDEPEND="!internal-glib? ( >=dev-libs/glib-2.34.3[${MULTILIB_USEDEP}] )
+RDEPEND="!build? ( >=dev-libs/glib-2.34.3[${MULTILIB_USEDEP}] )
        !dev-util/pkgconf[pkg-config]
        !dev-util/pkg-config-lite
        !dev-util/pkgconfig-openbsd[pkg-config]
@@ -61,7 +61,7 @@ src_prepare() {
 multilib_src_configure() {
        local myconf
 
-       if use internal-glib; then
+       if use build; then
                myconf+=' --with-internal-glib'
                # non-glibc platforms use GNU libiconv, but configure needs to
                # know about that not to get confused when it finds something