summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2019-04-29 01:45:58 +0000
committerMatt Turner <mattst88@gentoo.org>2019-04-29 12:57:19 -0700
commit0e4a36d2146f20372a69359487e8660dd00a27fb (patch)
tree716dc5d85907277fa2be0790d968d08ae2d718bc /eclass/xorg-2.eclass
parentapp-arch/unrar: Removed old. (diff)
downloadgentoo-0e4a36d2146f20372a69359487e8660dd00a27fb.tar.gz
gentoo-0e4a36d2146f20372a69359487e8660dd00a27fb.tar.bz2
gentoo-0e4a36d2146f20372a69359487e8660dd00a27fb.zip
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>
Diffstat (limited to 'eclass/xorg-2.eclass')
-rw-r--r--eclass/xorg-2.eclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/xorg-2.eclass b/eclass/xorg-2.eclass
index 0bba5bb7a369..6034da49bc32 100644
--- a/eclass/xorg-2.eclass
+++ b/eclass/xorg-2.eclass
@@ -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: