mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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:
committed by
Matt Turner
parent
b54b8394ee
commit
0e4a36d214
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user