commit:     5ed2fa287a431d6dc8e346b6f6e9ca2f76892c24
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  4 18:30:21 2021 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 18:30:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ed2fa28

sys-libs/ncurses-compat: remove ROOT=/ in front of has_version -b

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 sys-libs/ncurses-compat/ncurses-compat-6.1_p20190609.ebuild | 6 +++---
 sys-libs/ncurses-compat/ncurses-compat-6.2.ebuild           | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-libs/ncurses-compat/ncurses-compat-6.1_p20190609.ebuild 
b/sys-libs/ncurses-compat/ncurses-compat-6.1_p20190609.ebuild
index a111d788769..cbf320d863a 100644
--- a/sys-libs/ncurses-compat/ncurses-compat-6.1_p20190609.ebuild
+++ b/sys-libs/ncurses-compat/ncurses-compat-6.1_p20190609.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # This version is just for the ABI .5 library
@@ -69,7 +69,7 @@ src_configure() {
        # This comes up when cross-compiling, doing multilib builds, upgrading,
        # or installing for the first time.  Build a local copy of tic whenever
        # the host version isn't available. #249363 #557598
-       if ! ROOT=/ has_version -b "~sys-libs/${P}:0" ; then
+       if ! has_version -b "~sys-libs/${P}:0" ; then
                local lbuildflags="-static"
 
                # some toolchains don't quite support static linking
@@ -181,7 +181,7 @@ do_configure() {
 
 src_compile() {
        # See comments in src_configure.
-       if ! ROOT=/ has_version -b "~sys-libs/${P}:0" ; then
+       if ! has_version -b "~sys-libs/${P}:0" ; then
                BUILD_DIR="${WORKDIR}" \
                do_compile cross -C progs tic
        fi

diff --git a/sys-libs/ncurses-compat/ncurses-compat-6.2.ebuild 
b/sys-libs/ncurses-compat/ncurses-compat-6.2.ebuild
index 13a0da5e700..0484acd9547 100644
--- a/sys-libs/ncurses-compat/ncurses-compat-6.2.ebuild
+++ b/sys-libs/ncurses-compat/ncurses-compat-6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # This version is just for the ABI .5 library
@@ -69,7 +69,7 @@ src_configure() {
        # This comes up when cross-compiling, doing multilib builds, upgrading,
        # or installing for the first time.  Build a local copy of tic whenever
        # the host version isn't available. #249363 #557598
-       if ! ROOT=/ has_version -b "~sys-libs/${P}:0" ; then
+       if ! has_version -b "~sys-libs/${P}:0" ; then
                local lbuildflags="-static"
 
                # some toolchains don't quite support static linking
@@ -181,7 +181,7 @@ do_configure() {
 
 src_compile() {
        # See comments in src_configure.
-       if ! ROOT=/ has_version -b "~sys-libs/${P}:0" ; then
+       if ! has_version -b "~sys-libs/${P}:0" ; then
                BUILD_DIR="${WORKDIR}" \
                do_compile cross -C progs tic
        fi

Reply via email to