commit: 9d4666536e3bcb722b472587c5cca71ca0bc54b6
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 2 19:48:15 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Apr 2 19:51:21 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d466653
xorg-3.eclass: Fix undocumented variable warnings
- drop WANT_AUTOCONF/WANT_AUTOMAKE declarations: these are the default
values
- unset other variables after use so they don't leak to consumers
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
eclass/xorg-3.eclass | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/eclass/xorg-3.eclass b/eclass/xorg-3.eclass
index fa2731585429..f718a95f142e 100644
--- a/eclass/xorg-3.eclass
+++ b/eclass/xorg-3.eclass
@@ -52,6 +52,7 @@ fi
# we need to inherit autotools first to get the deps
inherit autotools libtool multilib toolchain-funcs flag-o-matic \
${FONT_ECLASS} ${GIT_ECLASS}
+unset FONT_ECLASS GIT_ECLASS
if [[ ${XORG_MULTILIB} == yes ]]; then
inherit multilib-minimal
@@ -142,12 +143,10 @@ if [[ ${PN} != util-macros ]] ; then
# Required even by xorg-server
[[ ${PN} == "font-util" ]] || EAUTORECONF_DEPEND+="
>=media-fonts/font-util-1.2.0"
fi
-WANT_AUTOCONF="latest"
-WANT_AUTOMAKE="latest"
for arch in ${XORG_EAUTORECONF_ARCHES}; do
EAUTORECONF_DEPENDS+=" ${arch}? ( ${EAUTORECONF_DEPEND} )"
done
-unset arch
+unset arch XORG_EAUTORECONF_ARCHES
BDEPEND+=" ${EAUTORECONF_DEPENDS}"
[[ ${XORG_EAUTORECONF} != no ]] && BDEPEND+=" ${EAUTORECONF_DEPEND}"
unset EAUTORECONF_DEPENDS