summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-block/nbdkit/nbdkit-1.32.4.ebuild')
-rw-r--r--sys-block/nbdkit/nbdkit-1.32.4.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys-block/nbdkit/nbdkit-1.32.4.ebuild b/sys-block/nbdkit/nbdkit-1.32.4.ebuild
index e7c7966aeff5..36d260e9022c 100644
--- a/sys-block/nbdkit/nbdkit-1.32.4.ebuild
+++ b/sys-block/nbdkit/nbdkit-1.32.4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://download.libguestfs.org/nbdkit/$(ver_cut 1-2)-stable/${P}.tar.g
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~x86"
-IUSE="curl ext2 nbd gnutls libguestfs libssh libvirt lzma selinux torrent zlib zstd"
+IUSE="curl ext2 nbd gnutls libguestfs libssh libvirt lzma selinux torrent valgrind zlib zstd"
RDEPEND="
virtual/libiconv
@@ -30,7 +30,10 @@ RDEPEND="
ext2? ( sys-fs/e2fsprogs )
torrent? ( net-libs/libtorrent-rasterbar:= )
"
-DEPEND="${RDEPEND}"
+DEPEND="
+ ${RDEPEND}
+ valgrind? ( dev-util/valgrind )
+"
BDEPEND="
dev-lang/perl
"
@@ -70,9 +73,9 @@ src_configure() {
$(use_with libguestfs)
$(use_with ext2)
$(use_enable torrent)
+ $(use_enable valgrind)
--disable-linuxdisk # Not in Gentoo.
- --disable-valgrind # Seems to not do anything?
--disable-libfuzzer # Should not be used normally according to upstream
# TODO(arsen): Bindings left out