Gentoo Archives: gentoo-commits

From: Chi-Thanh Christopher Nguyen <chithanh@××××××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/x11:master commit in: media-libs/mesa/
Date: Mon, 24 Feb 2014 19:56:18
Message-Id: 1393271724.58e51131e24bdfc609b2f680708dd24e74cdd868.chithead@gentoo
1 commit: 58e51131e24bdfc609b2f680708dd24e74cdd868
2 Author: Chi-Thanh Christopher Nguyen <chithanh <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 24 19:55:24 2014 +0000
4 Commit: Chi-Thanh Christopher Nguyen <chithanh <AT> cs <DOT> tu-berlin <DOT> de>
5 CommitDate: Mon Feb 24 19:55:24 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=58e51131
7
8 media-libs/mesa: sync dependencies and llvm debug warning message with portage
9
10 Bugzilla:
11 https://bugs.gentoo.org/show_bug.cgi?id=459306
12 https://bugs.gentoo.org/show_bug.cgi?id=490092
13 https://bugs.gentoo.org/show_bug.cgi?id=498812
14
15 ---
16 media-libs/mesa/mesa-9999.ebuild | 23 +++++++++++++++++++++++
17 1 file changed, 23 insertions(+)
18
19 diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
20 index d9a16aa..194374d 100644
21 --- a/media-libs/mesa/mesa-9999.ebuild
22 +++ b/media-libs/mesa/mesa-9999.ebuild
23 @@ -102,6 +102,23 @@ RDEPEND="
24 x11-libs/libXext[${MULTILIB_USEDEP}]
25 x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
26 >=x11-libs/libxcb-1.9.2[${MULTILIB_USEDEP}]
27 + llvm ? (
28 + video_cards_radeonsi? ( || (
29 + dev-libs/elfutils[${MULTILIB_USEDEP}]
30 + dev-libs/libelf[${MULTILIB_USEDEP}]
31 + ) )
32 + video_cards_r600? ( || (
33 + dev-libs/elfutils[${MULTILIB_USEDEP}]
34 + dev-libs/libelf[${MULTILIB_USEDEP}]
35 + ) )
36 + !video_cards_r600? (
37 + video_cards_radeon? ( || (
38 + dev-libs/elfutils[${MULTILIB_USEDEP}]
39 + dev-libs/libelf[${MULTILIB_USEDEP}]
40 + ) )
41 + )
42 + llvm-shared-libs? ( >=sys-devel/llvm-2.9[${MULTILIB_USEDEP}] )
43 + )
44 opencl? (
45 app-admin/eselect-opencl
46 dev-libs/libclc
47 @@ -165,6 +182,12 @@ pkg_setup() {
48 # workaround toc-issue wrt #386545
49 use ppc64 && append-flags -mminimal-toc
50
51 + # warning message for bug 459306
52 + if use llvm && has_version sys-devel/llvm[!debug=]; then
53 + ewarn "Mismatch between debug USE flags in media-libs/mesa and sys-devel/llvm"
54 + ewarn "detected! This can cause problems. For details, see bug 459306."
55 + fi
56 +
57 python-any-r1_pkg_setup
58 }