From 9556dfe8f7b8a991b56a670943ff6d043f0bfd5b Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Fri, 13 May 2016 08:41:36 +0100 Subject: dev-util/include-what-you-use: set upper bound to clang-3.7 Fails to build with clang-3.8 Package-Manager: portage-2.2.28 --- .../include-what-you-use-3.7-r1.ebuild | 32 ++++++++++++++++++++++ .../include-what-you-use-3.7.ebuild | 32 ---------------------- 2 files changed, 32 insertions(+), 32 deletions(-) create mode 100644 dev-util/include-what-you-use/include-what-you-use-3.7-r1.ebuild delete mode 100644 dev-util/include-what-you-use/include-what-you-use-3.7.ebuild (limited to 'dev-util/include-what-you-use') diff --git a/dev-util/include-what-you-use/include-what-you-use-3.7-r1.ebuild b/dev-util/include-what-you-use/include-what-you-use-3.7-r1.ebuild new file mode 100644 index 000000000000..4adfce3bdf4b --- /dev/null +++ b/dev-util/include-what-you-use/include-what-you-use-3.7-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit cmake-utils flag-o-matic + +WEIRD_UPSTREAM_VERSION=0.5 + +DESCRIPTION="find unused include directives in C/C++ programs" +HOMEPAGE="http://include-what-you-use.org/" +SRC_URI="http://include-what-you-use.org/downloads/${PN}-${WEIRD_UPSTREAM_VERSION}.src.tar.gz -> ${P}.src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="=sys-devel/llvm-3.7* + =sys-devel/clang-3.7* +" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${PN} + +src_configure() { + append-libs -L$(llvm-config --libdir) + + local mycmakeargs=( + -DLLVM_PATH=$(llvm-config --libdir) + ) + cmake-utils_src_configure +} diff --git a/dev-util/include-what-you-use/include-what-you-use-3.7.ebuild b/dev-util/include-what-you-use/include-what-you-use-3.7.ebuild deleted file mode 100644 index 9c1ef6345df1..000000000000 --- a/dev-util/include-what-you-use/include-what-you-use-3.7.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 -inherit cmake-utils flag-o-matic - -WEIRD_UPSTREAM_VERSION=0.5 - -DESCRIPTION="find unused include directives in C/C++ programs" -HOMEPAGE="http://include-what-you-use.org/" -SRC_URI="http://include-what-you-use.org/downloads/${PN}-${WEIRD_UPSTREAM_VERSION}.src.tar.gz -> ${P}.src.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=">=sys-devel/llvm-3.7 - >=sys-devel/clang-3.7 -" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${PN} - -src_configure() { - append-libs -L$(llvm-config --libdir) - - local mycmakeargs=( - -DLLVM_PATH=$(llvm-config --libdir) - ) - cmake-utils_src_configure -} -- cgit v1.2.3-65-gdbad