commit: ad730e7afc99cf9e8ee7645d12bc7cb8c6239fb0 Author: Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com> AuthorDate: Fri Sep 12 16:36:50 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Sep 14 10:34:54 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad730e7a
dev-libs/rasqal: fix build with USE=pcre when old libpcre is not installed The previously committed upstream patch for libpcre2 support has some dodgy behaviour wrt. the --enable-pcre flag. Instead we can let configure autodetect whatever it finds and then select the library we want (libpcre2 or posix) depending on USE. Also properly depend on libcre2 subslot. Closes: https://bugs.gentoo.org/962785 Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com> Part-of: https://github.com/gentoo/gentoo/pull/43756 Closes: https://github.com/gentoo/gentoo/pull/43756 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/rasqal/rasqal-0.9.33-r5.ebuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dev-libs/rasqal/rasqal-0.9.33-r5.ebuild b/dev-libs/rasqal/rasqal-0.9.33-r5.ebuild index ddecc6b530dd..74230e78171a 100644 --- a/dev-libs/rasqal/rasqal-0.9.33-r5.ebuild +++ b/dev-libs/rasqal/rasqal-0.9.33-r5.ebuild @@ -24,7 +24,7 @@ RDEPEND=" !gmp? ( dev-libs/mpfr:= ) gmp? ( dev-libs/gmp:= ) kernel_linux? ( >=sys-apps/util-linux-2.19 ) - pcre? ( dev-libs/libpcre2 ) + pcre? ( dev-libs/libpcre2:= ) xml? ( dev-libs/libxml2:= ) " DEPEND="${RDEPEND}" @@ -58,7 +58,6 @@ src_configure() { local myeconfargs=( --with-decimal=$(usex gmp gmp mpfr) --with-uuid-library=$(usex kernel_linux libuuid internal) - $(use_enable pcre) --with-regex-library=$(usex pcre pcre2 posix) $(use_enable static-libs static) $(use_enable xml xml2)
