summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/libraw1394')
-rw-r--r--sys-libs/libraw1394/libraw1394-2.1.2-r1.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys-libs/libraw1394/libraw1394-2.1.2-r1.ebuild b/sys-libs/libraw1394/libraw1394-2.1.2-r1.ebuild
index 0773d8c80817..e945a176eca1 100644
--- a/sys-libs/libraw1394/libraw1394-2.1.2-r1.ebuild
+++ b/sys-libs/libraw1394/libraw1394-2.1.2-r1.ebuild
@@ -12,10 +12,14 @@ SRC_URI="https://www.kernel.org/pub/linux/libs/ieee1394/${P}.tar.xz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
-IUSE=""
+IUSE="valgrind"
+
+DEPEND="valgrind? ( dev-util/valgrind )"
multilib_src_configure() {
- ECONF_SOURCE="${S}" econf --disable-static
+ ECONF_SOURCE="${S}" econf \
+ --disable-static \
+ $(use_with valgrind)
}
multilib_src_install_all() {