From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1387502-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 2500415808D
	for <garchives@archives.gentoo.org>; Tue, 19 Apr 2022 18:31:23 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 359BFE0943;
	Tue, 19 Apr 2022 18:31:21 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 23BA7E0942
	for <gentoo-commits@lists.gentoo.org>; Tue, 19 Apr 2022 18:31:18 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id A37AB341B6F
	for <gentoo-commits@lists.gentoo.org>; Tue, 19 Apr 2022 18:31:17 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 1A164355
	for <gentoo-commits@lists.gentoo.org>; Tue, 19 Apr 2022 18:31:16 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1650393020.4a007c83aafc1137ae3448264921be7dc5e707c3.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/
X-VCS-Repository: repo/gentoo
X-VCS-Files: metadata/install-qa-check.d/60libtool-la
X-VCS-Directories: metadata/install-qa-check.d/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 4a007c83aafc1137ae3448264921be7dc5e707c3
X-VCS-Branch: master
Date: Tue, 19 Apr 2022 18:31:16 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: b60661d6-23f7-4be7-8312-50a0a5715d6b
X-Archives-Hash: 0815ad9e3b747bbf194cce00ad718bf5

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