summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2022-04-02 12:48:15 -0700
committerMatt Turner <mattst88@gentoo.org>2022-04-02 12:51:21 -0700
commit9d4666536e3bcb722b472587c5cca71ca0bc54b6 (patch)
tree113a1865dbe8fda39d339a866cc6b37753db67b8
parentxorg-3.eclass: Drop EXPORTED_FUNCTIONS variable (diff)
downloadgentoo-9d466653.tar.gz
gentoo-9d466653.tar.bz2
gentoo-9d466653.zip
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@gentoo.org>
-rw-r--r--eclass/xorg-3.eclass5
1 files 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