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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 310BF15817D for ; Sat, 8 Jun 2024 14:30:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 600A1E2AA7; Sat, 8 Jun 2024 14:30:23 +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 3D54AE2AA7 for ; Sat, 8 Jun 2024 14:30:23 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 39EC633BDFF for ; Sat, 8 Jun 2024 14:30:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9AFF51A32 for ; Sat, 8 Jun 2024 14:30:20 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1717856980.0f0d3e8440c2b40338be937facc3fdce956f1805.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/unar/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-arch/unar/unar-1.10.8.ebuild X-VCS-Directories: app-arch/unar/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 0f0d3e8440c2b40338be937facc3fdce956f1805 X-VCS-Branch: master Date: Sat, 8 Jun 2024 14:30:20 +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: 2f661ed0-eca9-4c9d-a56e-1f7dc118bc13 X-Archives-Hash: 6d0a66c2384e9ef8dcbc9df0628b3a4c commit: 0f0d3e8440c2b40338be937facc3fdce956f1805 Author: Mike Gilbert gentoo org> AuthorDate: Sat Jun 8 14:28:34 2024 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Sat Jun 8 14:29:40 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f0d3e84 app-arch/unar: update objc check Drop pkg_pretend. Use positive USE flag checks. Closes: https://bugs.gentoo.org/933814 Signed-off-by: Mike Gilbert gentoo.org> app-arch/unar/unar-1.10.8.ebuild | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/app-arch/unar/unar-1.10.8.ebuild b/app-arch/unar/unar-1.10.8.ebuild index 77668d74dd51..a2c9123da345 100644 --- a/app-arch/unar/unar-1.10.8.ebuild +++ b/app-arch/unar/unar-1.10.8.ebuild @@ -35,22 +35,18 @@ PATCHES=( "${FILESDIR}"/${P}-Wint-conversion.patch ) check_objc_toolchain() { if tc-is-gcc; then - has_version 'sys-devel/gcc[-objc]' && + has_version 'sys-devel/gcc[objc]' || die "GCC requires sys-devel/gcc with USE=objc" elif tc-is-clang; then - has_version 'gnustep-base/gnustep-make[-libobjc2]' && + has_version 'gnustep-base/gnustep-make[libobjc2]' || die "Clang requires gnustep-base/gnustep-make with USE=libobjc2" else die "${PN} can only be build using GCC or Clang" fi } -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && check_objc_toolchain -} - pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && check_objc_toolchain + [[ ${MERGE_TYPE} == binary ]] || check_objc_toolchain } src_prepare() {