Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
Date: Sun, 29 Nov 2015 21:35:17
Message-Id: 1448832897.815c333bc8a05d9284d2b8f3c1fb6cb3aed87f45.slyfox@gentoo
1 commit: 815c333bc8a05d9284d2b8f3c1fb6cb3aed87f45
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 29 21:34:13 2015 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 29 21:34:57 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=815c333b
7
8 dev-util/include-what-you-use: allow clang-3.7
9
10 Package-Manager: portage-2.2.25
11
12 .../include-what-you-use-3.6-r1.ebuild | 36 ++++++++++++++++++++++
13 1 file changed, 36 insertions(+)
14
15 diff --git a/dev-util/include-what-you-use/include-what-you-use-3.6-r1.ebuild b/dev-util/include-what-you-use/include-what-you-use-3.6-r1.ebuild
16 new file mode 100644
17 index 0000000..a959f45
18 --- /dev/null
19 +++ b/dev-util/include-what-you-use/include-what-you-use-3.6-r1.ebuild
20 @@ -0,0 +1,36 @@
21 +# Copyright 1999-2015 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI=5
26 +inherit eutils cmake-utils flag-o-matic
27 +
28 +WEIRD_UPSREAM_VERSION=0.4
29 +
30 +DESCRIPTION="find unused include directives in C/C++ programs"
31 +HOMEPAGE="http://include-what-you-use.org/"
32 +SRC_URI="http://include-what-you-use.org/downloads/${PN}-${WEIRD_UPSREAM_VERSION}.src.tar.gz -> ${P}.src.tar.gz"
33 +
34 +LICENSE="GPL-2"
35 +SLOT="0"
36 +KEYWORDS="~amd64 ~x86"
37 +
38 +RDEPEND=">=sys-devel/llvm-3.6
39 + >=sys-devel/clang-3.6
40 +"
41 +DEPEND="${RDEPEND}"
42 +
43 +S=${WORKDIR}/${PN}
44 +
45 +src_prepare() {
46 + epatch_user
47 +}
48 +
49 +src_configure() {
50 + append-ldflags -L$(llvm-config --libdir)
51 +
52 + local mycmakeargs=(
53 + -DLLVM_PATH=$(llvm-config --libdir)
54 + )
55 + cmake-utils_src_configure
56 +}