summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2019-06-08 23:24:36 +0100
committerJames Le Cuirot <chewi@gentoo.org>2019-06-08 23:24:36 +0100
commit7d211604cc83b15d4aed3dc0f04edc6c3201c86f (patch)
treec8df6e1845accc5e50ae73943acfaf0f6c49dbec /sys-libs
parentgames-action/apotheon: New package (diff)
downloadgentoo-7d211604cc83b15d4aed3dc0f04edc6c3201c86f.tar.gz
gentoo-7d211604cc83b15d4aed3dc0f04edc6c3201c86f.tar.bz2
gentoo-7d211604cc83b15d4aed3dc0f04edc6c3201c86f.zip
sys-libs/ncurses: Fix broken use of ROOT=/ has_version under EAPI 7
Pass -b instead as changing ROOT confuses Portage to the point where this breaks when building for a ROOTed cross-prefix environment. Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/ncurses/ncurses-6.1_p20181020.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-libs/ncurses/ncurses-6.1_p20181020.ebuild b/sys-libs/ncurses/ncurses-6.1_p20181020.ebuild
index c96c376e5c8e..ba84afddf044 100644
--- a/sys-libs/ncurses/ncurses-6.1_p20181020.ebuild
+++ b/sys-libs/ncurses/ncurses-6.1_p20181020.ebuild
@@ -70,7 +70,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 "~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
@@ -192,7 +192,7 @@ do_configure() {
src_compile() {
# See comments in src_configure.
- if ! ROOT=/ has_version "~sys-libs/${P}:0" ; then
+ if ! has_version -b "~sys-libs/${P}:0" ; then
BUILD_DIR="${WORKDIR}" \
do_compile cross -C progs tic
fi