From c2b506a4db705c50faaeaec8409c4c30c7345be6 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 17 Mar 2025 07:10:04 +0000 Subject: [PATCH] eclass/xorg-3: Sync with Gentoo It's from Gentoo commit aba106695eda9ab637305e3035a85175a323357e. --- .../src/third_party/portage-stable/eclass/xorg-3.eclass | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/xorg-3.eclass b/sdk_container/src/third_party/portage-stable/eclass/xorg-3.eclass index 2ca5959dd1..db2d8fa85d 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/xorg-3.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/xorg-3.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: xorg-3.eclass @@ -135,7 +135,11 @@ if [[ ${PN} != util-macros ]] ; then # Required even by xorg-server [[ ${PN} == "font-util" ]] || EAUTORECONF_DEPEND+=" >=media-fonts/font-util-1.2.0" fi -[[ ${XORG_EAUTORECONF} != no ]] && BDEPEND+=" ${EAUTORECONF_DEPEND}" +if [[ ${XORG_EAUTORECONF} == no ]] ; then + BDEPEND+=" ${LIBTOOL_DEPEND}" +else + BDEPEND+=" ${EAUTORECONF_DEPEND}" +fi unset EAUTORECONF_DEPEND # @ECLASS_VARIABLE: FONT_DIR