From 4a007c83aafc1137ae3448264921be7dc5e707c3 Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 19 Apr 2022 19:30:20 +0100 Subject: 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 --- metadata/install-qa-check.d/60libtool-la | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'metadata') 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 -- cgit v1.2.3-65-gdbad