From e61b20e95bf5af9c58c3ef7dafdc307bbd14e296 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 20 Oct 2021 03:03:52 +0000 Subject: [PATCH] dev-util/kbuild: use -b switch for has_version Signed-off-by: Sam James --- 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 1679cabf9a2f2..ef85feb535924 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 "