summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-05-16 02:07:13 +0100
committerSam James <sam@gentoo.org>2023-05-16 02:52:17 +0100
commit5c4ce05d4512e36686209cba6f719bc7a6dc28f2 (patch)
tree750228cc950cb91c216f074e179509b3fd2cf4f5 /net-libs/libslirp
parentdev-libs/rlog: add Valgrind annotation support (diff)
downloadgentoo-5c4ce05d4512e36686209cba6f719bc7a6dc28f2.tar.gz
gentoo-5c4ce05d4512e36686209cba6f719bc7a6dc28f2.tar.bz2
gentoo-5c4ce05d4512e36686209cba6f719bc7a6dc28f2.zip
net-libs/libslirp: add Valgrind annotation support
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-libs/libslirp')
-rw-r--r--net-libs/libslirp/libslirp-4.7.0.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/net-libs/libslirp/libslirp-4.7.0.ebuild b/net-libs/libslirp/libslirp-4.7.0.ebuild
index 756a3331dd1b..0810b697f5e1 100644
--- a/net-libs/libslirp/libslirp-4.7.0.ebuild
+++ b/net-libs/libslirp/libslirp-4.7.0.ebuild
@@ -13,11 +13,14 @@ HOMEPAGE="https://gitlab.freedesktop.org/slirp/libslirp"
LICENSE="BSD"
SLOT="0"
-IUSE="static-libs"
+IUSE="static-libs valgrind"
RDEPEND="dev-libs/glib:="
-
-DEPEND="${RDEPEND}"
+# Valgrind usage is automagic but it's not so bad given it's a header-only dep.
+DEPEND="
+ ${RDEPEND}
+ valgrind? ( dev-util/valgrind )
+"
S=${WORKDIR}/${MY_P}