summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-06-17 16:35:50 +0200
committerLars Wendler <polynomial-c@gentoo.org>2019-06-17 16:35:50 +0200
commit6e87617f23a8b2bd9f0b3bc3203ef79b400cc081 (patch)
treed9a920a52d64bf3a5921a649e1ed87951d7f53ce /sys-libs/libblockdev
parentwww-client/seamonkey: Fixed build with gcc9 (diff)
downloadgentoo-6e87617f23a8b2bd9f0b3bc3203ef79b400cc081.tar.gz
gentoo-6e87617f23a8b2bd9f0b3bc3203ef79b400cc081.tar.bz2
gentoo-6e87617f23a8b2bd9f0b3bc3203ef79b400cc081.zip
sys-libs/libblockdev: Added "introspection" USE flag to live ebuild
Thanks-to: Gino McCarty <onigino@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@gentoo.org>
Diffstat (limited to 'sys-libs/libblockdev')
-rw-r--r--sys-libs/libblockdev/libblockdev-9999.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-libs/libblockdev/libblockdev-9999.ebuild b/sys-libs/libblockdev/libblockdev-9999.ebuild
index fe1a9b0b4e7a..fb0c5edf2187 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)