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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EAF22158086 for ; Wed, 20 Oct 2021 03:07:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3886EE0809; Wed, 20 Oct 2021 03:07:41 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1DF7FE0809 for ; Wed, 20 Oct 2021 03:07:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 52504343970 for ; Wed, 20 Oct 2021 03:07:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B465101 for ; Wed, 20 Oct 2021 03:07:39 +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: <1634699032.e61b20e95bf5af9c58c3ef7dafdc307bbd14e296.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/kbuild/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/kbuild/kbuild-0.1.9998.3499.ebuild dev-util/kbuild/kbuild-9999.ebuild X-VCS-Directories: dev-util/kbuild/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e61b20e95bf5af9c58c3ef7dafdc307bbd14e296 X-VCS-Branch: master Date: Wed, 20 Oct 2021 03:07:39 +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: 8a8e20ce-1694-4187-9630-05fd6700b519 X-Archives-Hash: 39d7b7f48aea91761e197dedf4bda562 commit: e61b20e95bf5af9c58c3ef7dafdc307bbd14e296 Author: Sam James gentoo org> AuthorDate: Wed Oct 20 03:03:52 2021 +0000 Commit: Sam James gentoo org> CommitDate: Wed Oct 20 03:03:52 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e61b20e9 dev-util/kbuild: use -b switch for has_version Signed-off-by: Sam James gentoo.org> dev-util/kbuild/kbuild-0.1.9998.3499.ebuild | 6 +++--- dev-util/kbuild/kbuild-9999.ebuild | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dev-util/kbuild/kbuild-0.1.9998.3499.ebuild b/dev-util/kbuild/kbuild-0.1.9998.3499.ebuild index 1679cabf9a2..ef85feb5359 100644 --- a/dev-util/kbuild/kbuild-0.1.9998.3499.ebuild +++ b/dev-util/kbuild/kbuild-0.1.9998.3499.ebuild @@ -69,11 +69,11 @@ src_compile() { # If the user hasn't picked one, let's prefer byacc > yacc > old bison for now. # See bug #734354 - bison doesn't work here. # We can remove this once Bison works again! - if has_version "dev-util/byacc" ; then + if has_version -b "dev-util/byacc" ; then export YACC=byacc - elif has_version "dev-util/yacc" ; then + elif has_version -b "dev-util/yacc" ; then export YACC=yacc - elif has_version " yacc > old bison for now. # See bug #734354 - bison doesn't work here. # We can remove this once Bison works again! - if has_version "dev-util/byacc" ; then + if has_version -b "dev-util/byacc" ; then export YACC=byacc - elif has_version "dev-util/yacc" ; then + elif has_version -b "dev-util/yacc" ; then export YACC=yacc - elif has_version "