xorg-2.eclass, xorg-3.eclass: Depend on virtual/pkgconfig[${MULTILIB_USEDEP}] when multilib support is enabled.

Fixes: https://bugs.gentoo.org/684494
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Arfrever Frehtes Taifersar Arahesis
2019-04-29 01:45:58 +00:00
committed by Matt Turner
parent b54b8394ee
commit 0e4a36d214
2 changed files with 11 additions and 3 deletions

View File

@@ -172,7 +172,7 @@ fi
# QA: configure: WARNING: unrecognized options: --disable-static
: ${XORG_STATIC:="yes"}
# Add static-libs useflag where usefull.
# Add static-libs useflag where useful.
if [[ ${XORG_STATIC} == yes \
&& ${FONT} != yes \
&& ${CATEGORY} != app-doc \
@@ -186,7 +186,11 @@ if [[ ${XORG_STATIC} == yes \
IUSE+=" static-libs"
fi
DEPEND+=" virtual/pkgconfig"
if [[ ${XORG_MULTILIB} == yes ]]; then
DEPEND+=" virtual/pkgconfig[${MULTILIB_USEDEP}]"
else
DEPEND+=" virtual/pkgconfig"
fi
# @ECLASS-VARIABLE: XORG_DRI
# @DESCRIPTION:

View File

@@ -140,7 +140,11 @@ if [[ ${XORG_STATIC} == yes \
IUSE+=" static-libs"
fi
BDEPEND+=" virtual/pkgconfig"
if [[ ${XORG_MULTILIB} == yes ]]; then
BDEPEND+=" virtual/pkgconfig[${MULTILIB_USEDEP}]"
else
BDEPEND+=" virtual/pkgconfig"
fi
# @ECLASS-VARIABLE: XORG_DRI
# @DESCRIPTION: