xorg-3.eclass: EAUTORECONF_DEPENDS belong to BDEPEND
authorMichael Haubenwallner <haubi@gentoo.org>
Thu, 13 Jun 2019 10:58:04 +0000 (12:58 +0200)
committerMichael Haubenwallner <haubi@gentoo.org>
Fri, 14 Jun 2019 06:22:39 +0000 (08:22 +0200)
EAUTORECONF_DEPENDS is non-empty for ppc-aix and x86-winnt only.
Also, unset variable 'arch' after use.

Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
eclass/xorg-3.eclass

index 6ac90a64d59d97f6406141ad976df689e49b5c6a..f135058fba6ffa36db1ea0911829c9d3e408935d 100644 (file)
@@ -116,7 +116,8 @@ WANT_AUTOMAKE="latest"
 for arch in ${XORG_EAUTORECONF_ARCHES}; do
        EAUTORECONF_DEPENDS+=" ${arch}? ( ${EAUTORECONF_DEPEND} )"
 done
-DEPEND+=" ${EAUTORECONF_DEPENDS}"
+unset arch
+BDEPEND+=" ${EAUTORECONF_DEPENDS}"
 [[ ${XORG_EAUTORECONF} != no ]] && BDEPEND+=" ${EAUTORECONF_DEPEND}"
 unset EAUTORECONF_DEPENDS
 unset EAUTORECONF_DEPEND