summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-05-16 03:38:50 +0100
committerSam James <sam@gentoo.org>2023-05-16 04:35:52 +0100
commit3334690c900491f94738fdef1f81b31d9e5618a1 (patch)
tree835f65ceece61c5dcceae3a2f74fa5a7d04e1caf /sys-libs/libraw1394/libraw1394-2.1.2-r1.ebuild
parentdev-libs/apr: add Valgrind annotation support (diff)
downloadgentoo-3334690c900491f94738fdef1f81b31d9e5618a1.tar.gz
gentoo-3334690c900491f94738fdef1f81b31d9e5618a1.tar.bz2
gentoo-3334690c900491f94738fdef1f81b31d9e5618a1.zip
sys-libs/libraw1394: add Valgrind annotation support
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/libraw1394/libraw1394-2.1.2-r1.ebuild')
-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() {