imapfilter-2.7.5 added explicit support for libpcre2 (yay!) but the build still depends on libpcre. I noticed while I was looking at remaining consumers of libpcre and looked into porting it..which was already done. Reproducible: Always Steps to Reproduce: 1. emerge imapfilter with libpcre2 installed 2. ldd /usr/bin/imapfilter: libpcre2 is used 3. emerge -vp --depclean libpcre still shows imapfilter as dependency Expected Results: Correct dependency declaration on libpcre2.
(In reply to Holger Hoffstätte from comment #0) > but the build still depends on libpcre Just to be clear: this should have said *the ebuild*. The only necessary change is in RDEPEND.
Created a PR: https://github.com/gentoo/gentoo/pull/26082
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e1e8ba45af1913742d440c63efde2390eca9e2c commit 0e1e8ba45af1913742d440c63efde2390eca9e2c Author: Holger Hoffstätte <holger@applied-asynchrony.com> AuthorDate: 2022-06-26 19:18:57 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-28 09:31:38 +0000 mail-filter/imapfilter: add 5.4 & luajit to LUA_COMPAT, correctly depend on libpcre2 Closes: https://bugs.gentoo.org/828110 Closes: https://bugs.gentoo.org/854471 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Closes: https://github.com/gentoo/gentoo/pull/26082 Signed-off-by: Sam James <sam@gentoo.org> mail-filter/imapfilter/imapfilter-2.7.5-r1.ebuild | 48 +++++++++++++++++++++++ 1 file changed, 48 insertions(+)