commit: 4a007c83aafc1137ae3448264921be7dc5e707c3 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Apr 19 18:30:20 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Apr 19 18:30:20 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a007c83
Revert "metadata/install-qa-check.d: swap libltdl check to 'has'" This reverts commit 8226609cee46af93656676350895135dbd910793. This ends up not matching things like "dev-libs/libltdl:0" and breaks (false positive) on e.g. imagemagick. Closes: https://bugs.gentoo.org/839387 Signed-off-by: Sam James <sam <AT> gentoo.org> metadata/install-qa-check.d/60libtool-la | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata/install-qa-check.d/60libtool-la b/metadata/install-qa-check.d/60libtool-la index 6a1af9ce5a64..fd21ec8406d3 100644 --- a/metadata/install-qa-check.d/60libtool-la +++ b/metadata/install-qa-check.d/60libtool-la @@ -11,7 +11,7 @@ libtool_la_check() { local files=$(find "${ED}"/usr/lib* -name '*.la' -print 2>/dev/null) [[ -n "${files[@]}" ]] || return - if has "dev-libs/libltdl" ${RDEPEND}; then + if grep -q "dev-libs/libltdl" <<<${RDEPEND}; then # Nothing to do here return fi
