public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/kbuild/
Date: Wed, 20 Oct 2021 03:07:39 +0000 (UTC)	[thread overview]
Message-ID: <1634699032.e61b20e95bf5af9c58c3ef7dafdc307bbd14e296.sam@gentoo> (raw)

commit:     e61b20e95bf5af9c58c3ef7dafdc307bbd14e296
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 20 03:03:52 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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 "<sys-devel/bison-3.7" ; then
+		elif has_version -b "<sys-devel/bison-3.7" ; then
 			export YACC=bison
 		else
 			die "This case shouldn't be possible; no suitable YACC impl installed."

diff --git a/dev-util/kbuild/kbuild-9999.ebuild b/dev-util/kbuild/kbuild-9999.ebuild
index 942718bd4bf..b4bfd88222e 100644
--- a/dev-util/kbuild/kbuild-9999.ebuild
+++ b/dev-util/kbuild/kbuild-9999.ebuild
@@ -71,11 +71,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 "<sys-devel/bison-3.7" ; then
+		elif has_version -b "<sys-devel/bison-3.7" ; then
 			export YACC=bison
 		else
 			die "This case shouldn't be possible; no suitable YACC impl installed."


             reply	other threads:[~2021-10-20  3:07 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-20  3:07 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-05-29 17:49 [gentoo-commits] repo/gentoo:master commit in: dev-util/kbuild/ Arthur Zamarin
2023-05-29 12:57 Sam James
2023-05-03 11:29 Viorel Munteanu
2023-04-21 16:38 Viorel Munteanu
2023-04-16 17:21 Viorel Munteanu
2023-04-16 17:19 Viorel Munteanu
2023-04-16 17:04 Arthur Zamarin
2023-04-14  9:33 Viorel Munteanu
2023-04-10  8:24 Sam James
2023-03-09  8:55 Viorel Munteanu
2023-01-11 12:54 Arthur Zamarin
2023-01-11 12:54 Arthur Zamarin
2022-11-27 10:08 Viorel Munteanu
2022-11-21  6:33 Viorel Munteanu
2022-11-20  8:31 Viorel Munteanu
2022-11-20  8:31 Viorel Munteanu
2021-10-20  1:51 Sam James
2021-06-18 21:07 David Seifert
2021-04-19 11:06 Lars Wendler
2020-09-25  8:46 Agostino Sarubbo
2020-05-23  0:38 Mike Frysinger
2019-04-20 13:51 Lars Wendler
2018-11-21 14:22 Lars Wendler
2018-11-06  9:50 Lars Wendler
2018-11-05 15:59 Mikle Kolyada
2018-07-22 17:07 Mikle Kolyada
2018-06-06  8:23 Lars Wendler
2018-06-06  8:23 Lars Wendler
2017-12-19  0:37 Lars Wendler
2017-10-20  8:28 Lars Wendler
2017-10-02  9:08 Lars Wendler
2017-07-17 20:29 Amy Liffey
2017-07-17 20:14 Amy Liffey
2016-11-03 21:03 Patrice Clement
2016-07-17  0:52 Maciej Mrozowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1634699032.e61b20e95bf5af9c58c3ef7dafdc307bbd14e296.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox