commit: aba106695eda9ab637305e3035a85175a323357e Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Mar 13 13:17:01 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Mar 13 13:17:01 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aba10669
xorg-3.eclass: depend on elt-patches where appropriate Since 2b5a13c5a6b9f6e8d8fba44a1ad6577a35198459, autotools.eclass with AUTOTOOLS_AUTO_DEPEND=no won't always depend on elt-patches. Explicitly add it when not eautoreconf-ing to match what src_prepare does (for how it decides to call elibtoolize). Closes: https://bugs.gentoo.org/951291 Signed-off-by: Sam James <sam <AT> gentoo.org> eclass/xorg-3.eclass | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/eclass/xorg-3.eclass b/eclass/xorg-3.eclass index 2ca5959dd1e7..db2d8fa85df9 100644 --- a/eclass/xorg-3.eclass +++ b/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
