summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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: