mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
sys-libs/readline: improve prefix bootstrapping check
We might have *just* installed pkg-config but not have ncurses available in the stage3 build yet, so check if STAGE is set instead. Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
002e937092
commit
9e2ab4e98d
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@ -126,7 +126,7 @@ src_prepare() {
|
||||
|
||||
is_release || eautoreconf
|
||||
|
||||
if use prefix && [[ ! -x "${BROOT}"/usr/bin/pkg-config ]] ; then
|
||||
if use prefix && [[ -n ${STAGE} ]] ; then
|
||||
# If we're bootstrapping, make a guess. We don't have pkg-config
|
||||
# around yet. bug #818103.
|
||||
# Incorrectly populating this leads to underlinked libreadline.
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -127,7 +127,7 @@ src_prepare() {
|
||||
|
||||
#(( PLEVEL < 0 )) && eautoreconf
|
||||
|
||||
if use prefix && [[ ! -x "${BROOT}"/usr/bin/pkg-config ]] ; then
|
||||
if use prefix && [[ -n ${STAGE} ]] ; then
|
||||
# If we're bootstrapping, make a guess. We don't have pkg-config
|
||||
# around yet. bug #818103.
|
||||
# Incorrectly populating this leads to underlinked libreadline.
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -126,7 +126,7 @@ src_prepare() {
|
||||
|
||||
#(( PLEVEL < 0 )) && eautoreconf
|
||||
|
||||
if use prefix && [[ ! -x "${BROOT}"/usr/bin/pkg-config ]] ; then
|
||||
if use prefix && [[ -n ${STAGE} ]] ; then
|
||||
# If we're bootstrapping, make a guess. We don't have pkg-config
|
||||
# around yet. bug #818103.
|
||||
# Incorrectly populating this leads to underlinked libreadline.
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -126,7 +126,7 @@ src_prepare() {
|
||||
|
||||
#(( PLEVEL < 0 )) && eautoreconf
|
||||
|
||||
if use prefix && [[ ! -x "${BROOT}"/usr/bin/pkg-config ]] ; then
|
||||
if use prefix && [[ -n ${STAGE} ]] ; then
|
||||
# If we're bootstrapping, make a guess. We don't have pkg-config
|
||||
# around yet. bug #818103.
|
||||
# Incorrectly populating this leads to underlinked libreadline.
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -126,7 +126,7 @@ src_prepare() {
|
||||
|
||||
#(( PLEVEL < 0 )) && eautoreconf
|
||||
|
||||
if use prefix && [[ ! -x "${BROOT}"/usr/bin/pkg-config ]] ; then
|
||||
if use prefix && [[ -n ${STAGE} ]] ; then
|
||||
# If we're bootstrapping, make a guess. We don't have pkg-config
|
||||
# around yet. bug #818103.
|
||||
# Incorrectly populating this leads to underlinked libreadline.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user