diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2019-04-29 01:45:58 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2019-04-29 12:57:19 -0700 |
commit | 0e4a36d2146f20372a69359487e8660dd00a27fb (patch) | |
tree | 716dc5d85907277fa2be0790d968d08ae2d718bc /eclass/xorg-3.eclass | |
parent | app-arch/unrar: Removed old. (diff) | |
download | gentoo-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-3.eclass')
-rw-r--r-- | eclass/xorg-3.eclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/xorg-3.eclass b/eclass/xorg-3.eclass index 557a65233cb7..6ac90a64d59d 100644 --- a/eclass/xorg-3.eclass +++ b/eclass/xorg-3.eclass @@ -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: |