1 |
commit: 0a46fb739637ec6f43d8c21bcca506d69c92848e |
2 |
Author: Matt Turner <mattst88 <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Mar 28 19:41:38 2015 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 28 19:41:38 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/x11.git/commit/?id=0a46fb73 |
7 |
|
8 |
media-libs/mesa: Don't depend on codegen tools if PV != 9999. |
9 |
|
10 |
media-libs/mesa/mesa-9999.ebuild | 10 ++++++---- |
11 |
1 file changed, 6 insertions(+), 4 deletions(-) |
12 |
|
13 |
diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild |
14 |
index 1b23826..82d9bc9 100644 |
15 |
--- a/media-libs/mesa/mesa-9999.ebuild |
16 |
+++ b/media-libs/mesa/mesa-9999.ebuild |
17 |
@@ -135,7 +135,6 @@ for card in ${RADEON_CARDS}; do |
18 |
done |
19 |
|
20 |
DEPEND="${RDEPEND} |
21 |
- ${PYTHON_DEPS} |
22 |
llvm? ( |
23 |
video_cards_radeonsi? ( sys-devel/llvm[video_cards_radeon] ) |
24 |
) |
25 |
@@ -144,9 +143,6 @@ DEPEND="${RDEPEND} |
26 |
>=sys-devel/clang-3.4.2:=[${MULTILIB_USEDEP}] |
27 |
>=sys-devel/gcc-4.6 |
28 |
) |
29 |
- sys-devel/bison |
30 |
- sys-devel/flex |
31 |
- $(python_gen_any_dep ">=dev-python/mako-0.7.3[\${PYTHON_USEDEP}]") |
32 |
sys-devel/gettext |
33 |
virtual/pkgconfig |
34 |
>=x11-proto/dri2proto-2.8-r1:=[${MULTILIB_USEDEP}] |
35 |
@@ -159,6 +155,12 @@ DEPEND="${RDEPEND} |
36 |
>=x11-proto/xf86driproto-2.1.1-r1:=[${MULTILIB_USEDEP}] |
37 |
>=x11-proto/xf86vidmodeproto-2.3.1-r1:=[${MULTILIB_USEDEP}] |
38 |
" |
39 |
+[[ ${PV} == "9999" ]] && DEPEND+=" |
40 |
+ sys-devel/bison |
41 |
+ sys-devel/flex |
42 |
+ ${PYTHON_DEPS} |
43 |
+ $(python_gen_any_dep ">=dev-python/mako-0.7.3[\${PYTHON_USEDEP}]") |
44 |
+" |
45 |
|
46 |
S="${WORKDIR}/${MY_P}" |
47 |
EGIT_CHECKOUT_DIR=${S} |