diff options
author | Sam James <sam@gentoo.org> | 2023-05-14 00:08:06 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-05-14 01:31:17 +0100 |
commit | 4a1c5fd4948a420aded7d9f8e9179b0435f875d4 (patch) | |
tree | ca7b59b1da9f084a1e06df790cd3c69fa7a2dbf2 /dev-libs/libpcre2 | |
parent | media-video/pipewire: Stabilize 0.3.70-r2 x86, #906301 (diff) | |
download | gentoo-4a1c5fd4948a420aded7d9f8e9179b0435f875d4.tar.gz gentoo-4a1c5fd4948a420aded7d9f8e9179b0435f875d4.tar.bz2 gentoo-4a1c5fd4948a420aded7d9f8e9179b0435f875d4.zip |
dev-libs/libpcre2: add Valgrind annotation support
The headers are needed to get Valgrind annotations.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libpcre2')
-rw-r--r-- | dev-libs/libpcre2/libpcre2-10.42-r1.ebuild | 8 | ||||
-rw-r--r-- | dev-libs/libpcre2/metadata.xml | 1 |
2 files changed, 7 insertions, 2 deletions
diff --git a/dev-libs/libpcre2/libpcre2-10.42-r1.ebuild b/dev-libs/libpcre2/libpcre2-10.42-r1.ebuild index 5a0b23904c4b..56e994b8bfe0 100644 --- a/dev-libs/libpcre2/libpcre2-10.42-r1.ebuild +++ b/dev-libs/libpcre2/libpcre2-10.42-r1.ebuild @@ -24,7 +24,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0/3" # libpcre2-posix.so version KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~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="bzip2 +jit libedit +pcre16 pcre32 +readline static-libs unicode zlib" +IUSE="bzip2 +jit libedit +pcre16 pcre32 +readline static-libs unicode valgrind zlib" REQUIRED_USE="?? ( libedit readline )" RDEPEND=" @@ -33,7 +33,10 @@ RDEPEND=" readline? ( sys-libs/readline:= ) zlib? ( sys-libs/zlib ) " -DEPEND="${RDEPEND}" +DEPEND=" + ${RDEPEND} + valgrind? ( dev-util/valgrind ) +" BDEPEND=" virtual/pkgconfig verify-sig? ( sec-keys/openpgp-keys-philiphazel ) @@ -60,6 +63,7 @@ multilib_src_configure() { $(multilib_native_use_enable bzip2 pcre2grep-libbz2) $(multilib_native_use_enable libedit pcre2test-libedit) $(multilib_native_use_enable readline pcre2test-libreadline) + $(multilib_native_use_enable valgrind) $(multilib_native_use_enable zlib pcre2grep-libz) $(use_enable jit) $(use_enable jit pcre2grep-jit) diff --git a/dev-libs/libpcre2/metadata.xml b/dev-libs/libpcre2/metadata.xml index 66bde795d3f1..04cdf69f6d5d 100644 --- a/dev-libs/libpcre2/metadata.xml +++ b/dev-libs/libpcre2/metadata.xml @@ -16,6 +16,7 @@ Add support for command line editing to pcretest, through <pkg>sys-libs/readline</pkg>. </flag> + <flag name="valgrind">Support Valgrind for <pkg>dev-util/valgrind</pkg> annotations to improve results for memcheck.</flag> <flag name="zlib"> Add support for pcregrep command to search within gzip-compressed files (via <pkg>sys-libs/zlib</pkg>). |