commit: 0a46fb739637ec6f43d8c21bcca506d69c92848e
Author: Matt Turner <mattst88 <AT> gmail <DOT> com>
AuthorDate: Sat Mar 28 19:41:38 2015 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Mar 28 19:41:38 2015 +0000
URL: https://gitweb.gentoo.org/proj/x11.git/commit/?id=0a46fb73
media-libs/mesa: Don't depend on codegen tools if PV != 9999.
media-libs/mesa/mesa-9999.ebuild | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index 1b23826..82d9bc9 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -135,7 +135,6 @@ for card in ${RADEON_CARDS}; do
done
DEPEND="${RDEPEND}
- ${PYTHON_DEPS}
llvm? (
video_cards_radeonsi? ( sys-devel/llvm[video_cards_radeon] )
)
@@ -144,9 +143,6 @@ DEPEND="${RDEPEND}
>=sys-devel/clang-3.4.2:=[${MULTILIB_USEDEP}]
>=sys-devel/gcc-4.6
)
- sys-devel/bison
- sys-devel/flex
- $(python_gen_any_dep ">=dev-python/mako-0.7.3[\${PYTHON_USEDEP}]")
sys-devel/gettext
virtual/pkgconfig
>=x11-proto/dri2proto-2.8-r1:=[${MULTILIB_USEDEP}]
@@ -159,6 +155,12 @@ DEPEND="${RDEPEND}
>=x11-proto/xf86driproto-2.1.1-r1:=[${MULTILIB_USEDEP}]
>=x11-proto/xf86vidmodeproto-2.3.1-r1:=[${MULTILIB_USEDEP}]
"
+[[ ${PV} == "9999" ]] && DEPEND+="
+ sys-devel/bison
+ sys-devel/flex
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep ">=dev-python/mako-0.7.3[\${PYTHON_USEDEP}]")
+"
S="${WORKDIR}/${MY_P}"
EGIT_CHECKOUT_DIR=${S}