1 |
commit: ce8381097ae89c5795e482a429fc4b8943c7e5f3 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 22 20:00:16 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 22 22:00:50 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce838109 |
7 |
|
8 |
dev-util/cppcheck: Switch to EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.16, Repoman-2.3.6 |
11 |
|
12 |
dev-util/cppcheck/cppcheck-1.81.ebuild | 10 +++++----- |
13 |
1 file changed, 5 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/dev-util/cppcheck/cppcheck-1.81.ebuild b/dev-util/cppcheck/cppcheck-1.81.ebuild |
16 |
index 765ecfadc61..c1c281e82e2 100644 |
17 |
--- a/dev-util/cppcheck/cppcheck-1.81.ebuild |
18 |
+++ b/dev-util/cppcheck/cppcheck-1.81.ebuild |
19 |
@@ -1,11 +1,11 @@ |
20 |
# Copyright 1999-2017 Gentoo Foundation |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
-EAPI=5 |
24 |
+EAPI=6 |
25 |
|
26 |
PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
27 |
|
28 |
-inherit distutils-r1 eutils flag-o-matic qmake-utils toolchain-funcs |
29 |
+inherit distutils-r1 flag-o-matic qmake-utils toolchain-funcs |
30 |
|
31 |
DESCRIPTION="static analyzer of C/C++ code" |
32 |
HOMEPAGE="http://cppcheck.sourceforge.net" |
33 |
@@ -28,17 +28,17 @@ DEPEND="${RDEPEND} |
34 |
virtual/pkgconfig |
35 |
" |
36 |
|
37 |
+PATCHES=( "${FILESDIR}"/${PN}-1.75-tinyxml2.patch ) |
38 |
+ |
39 |
src_prepare() { |
40 |
+ default |
41 |
append-cxxflags -std=c++0x |
42 |
|
43 |
# Drop bundled libs, patch Makefile generator and re-run it |
44 |
rm -r externals/tinyxml || die |
45 |
- epatch "${FILESDIR}"/${PN}-1.75-tinyxml2.patch |
46 |
tc-export CXX |
47 |
emake dmake |
48 |
./dmake || die |
49 |
- |
50 |
- default |
51 |
} |
52 |
|
53 |
src_configure() { |