eclass/xorg-3: Sync with Gentoo

It's from Gentoo commit aba106695eda9ab637305e3035a85175a323357e.
This commit is contained in:
Flatcar Buildbot 2025-03-17 07:10:04 +00:00 committed by Krzesimir Nowak
parent 954865a94e
commit c2b506a4db

View File

@ -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