commit:     6e87617f23a8b2bd9f0b3bc3203ef79b400cc081
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 17 14:35:50 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Jun 17 14:35:50 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e87617f

sys-libs/libblockdev: Added "introspection" USE flag to live ebuild

Thanks-to: Gino McCarty <onigino <AT> protonmail.com>
Bug: https://bugs.gentoo.org/685020
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-libs/libblockdev/libblockdev-9999.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libblockdev/libblockdev-9999.ebuild 
b/sys-libs/libblockdev/libblockdev-9999.ebuild
index fe1a9b0b4e7..fb0c5edf218 100644
--- a/sys-libs/libblockdev/libblockdev-9999.ebuild
+++ b/sys-libs/libblockdev/libblockdev-9999.ebuild
@@ -25,7 +25,7 @@ else
 fi
 LICENSE="LGPL-2+"
 SLOT="0"
-IUSE="bcache +cryptsetup device-mapper dmraid escrow gtk-doc lvm kbd test 
+tools vdo"
+IUSE="bcache +cryptsetup device-mapper dmraid escrow gtk-doc introspection lvm 
kbd test +tools vdo"
 
 RDEPEND="
        >=dev-libs/glib-2.42.2
@@ -58,8 +58,8 @@ DEPEND="
 "
 
 BDEPEND+="
-       >=dev-libs/gobject-introspection-1.3.0
        dev-util/gtk-doc-am
+       introspection? ( >=dev-libs/gobject-introspection-1.3.0 )
 "
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
@@ -82,6 +82,7 @@ src_configure() {
                --with-part
                --without-mpath
                --without-nvdimm
+               $(use_enable introspection)
                $(use_enable test tests)
                $(use_with bcache)
                $(use_with cryptsetup crypto)

Reply via email to