summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-05-16 03:36:41 +0100
committerSam James <sam@gentoo.org>2023-05-16 04:35:51 +0100
commitffb384312357a71127161a1feecbe6d436269814 (patch)
treee6fa3326676d23023f3c6c5bfb29cfaa508877be /dev-libs/apr
parentx11-apps/setxkbmap: Version bump to 1.3.4 (diff)
downloadgentoo-ffb384312357a71127161a1feecbe6d436269814.tar.gz
gentoo-ffb384312357a71127161a1feecbe6d436269814.tar.bz2
gentoo-ffb384312357a71127161a1feecbe6d436269814.zip
dev-libs/apr: add Valgrind annotation support
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/apr')
-rw-r--r--dev-libs/apr/apr-1.7.4.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-libs/apr/apr-1.7.4.ebuild b/dev-libs/apr/apr-1.7.4.ebuild
index 9ab51b0ca62a..d8b0bef35dd3 100644
--- a/dev-libs/apr/apr-1.7.4.ebuild
+++ b/dev-libs/apr/apr-1.7.4.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://apache/apr/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="1/${PV%.*}"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="doc old-kernel selinux static-libs +urandom"
+IUSE="doc old-kernel selinux static-libs +urandom valgrind"
# See bug #815265 for libcrypt dependency
DEPEND="
@@ -23,6 +23,7 @@ RDEPEND="
${DEPEND}
selinux? ( sec-policy/selinux-base-policy )
"
+DEPEND+=" valgrind? ( dev-util/valgrind )"
BDEPEND="
>=sys-devel/libtool-2.4.2
doc? ( app-doc/doxygen )
@@ -57,6 +58,7 @@ src_configure() {
--enable-posix-shm
--enable-threads
$(use_enable static-libs static)
+ $(use_with valgrind)
--with-installbuilddir="${EPREFIX}"/usr/share/${PN}/build
)