From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 86C7C15808B for ; Tue, 12 Apr 2022 02:00:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A492AE091D; Tue, 12 Apr 2022 02:00:13 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7D9A6E091F for ; Tue, 12 Apr 2022 02:00:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E982734127E for ; Tue, 12 Apr 2022 02:00:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1B7903A9 for ; Tue, 12 Apr 2022 02:00:09 +0000 (UTC) From: "Sam James" 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" Message-ID: <1649728795.183dc3d778cf83102aa7ed8291979b71a287cf7e.sam@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/install-qa-check.d/ X-VCS-Repository: proj/portage X-VCS-Files: bin/install-qa-check.d/60pkgconfig X-VCS-Directories: bin/install-qa-check.d/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 183dc3d778cf83102aa7ed8291979b71a287cf7e X-VCS-Branch: master Date: Tue, 12 Apr 2022 02:00:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f2b15d7d-0ea2-4e73-9852-e50c563bab92 X-Archives-Hash: f90ba68c6c6342b685f3a25d3d5dfe22 commit: 183dc3d778cf83102aa7ed8291979b71a287cf7e Author: Sam James gentoo org> AuthorDate: Thu Feb 24 22:43:47 2022 +0000 Commit: Sam James gentoo org> CommitDate: Tue Apr 12 01:59:55 2022 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=183dc3d7 install-qa-check.d/60pkgconfig: exit early if no pkg-config installed But we still run the LDFLAGS check. Signed-off-by: Sam James gentoo.org> bin/install-qa-check.d/60pkgconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/install-qa-check.d/60pkgconfig b/bin/install-qa-check.d/60pkgconfig index 78c5b5a3c..4c6f01f03 100644 --- a/bin/install-qa-check.d/60pkgconfig +++ b/bin/install-qa-check.d/60pkgconfig @@ -17,6 +17,11 @@ pkgconfig_check() { eqatag -v pkgconfig.bad-ldlags "${f//${D}}" fi + # Bail out now so we can rely on pkgconfig in subsequent checks if we want. + if ! type -P pkg-config >/dev/null ; then + return + fi + # Validate using pkgconfig # Some less common implementations may not support this? # seems like f.d.o, OpenBSD, and of course pkgconf do though.