summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2015-03-28 12:41:38 -0700
committerMatt Turner <mattst88@gmail.com>2015-03-28 12:41:38 -0700
commit0a46fb739637ec6f43d8c21bcca506d69c92848e (patch)
treeafa1dacdc9c7663751e678627a0f4278e1be752c
parentmedia-libs/mesa: Depend on libXfixes. (diff)
downloadx11-0a46fb739637ec6f43d8c21bcca506d69c92848e.tar.gz
x11-0a46fb739637ec6f43d8c21bcca506d69c92848e.tar.bz2
x11-0a46fb739637ec6f43d8c21bcca506d69c92848e.zip
media-libs/mesa: Don't depend on codegen tools if PV != 9999.
-rw-r--r--media-libs/mesa/mesa-9999.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index 1b238264..82d9bc97 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}