1 |
commit: cc8deae86628989356bdaa48405abe7a867cb49c |
2 |
Author: Johannes Huber <johu <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 11 22:35:58 2017 +0000 |
4 |
Commit: Johannes Huber <johu <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 11 22:35:58 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc8deae8 |
7 |
|
8 |
sci-mathematics/diagrtb: EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
sci-mathematics/diagrtb/diagrtb-2.64.ebuild | 11 +++++++---- |
13 |
1 file changed, 7 insertions(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/sci-mathematics/diagrtb/diagrtb-2.64.ebuild b/sci-mathematics/diagrtb/diagrtb-2.64.ebuild |
16 |
index 1283039df7..27c9262aa6 100644 |
17 |
--- a/sci-mathematics/diagrtb/diagrtb-2.64.ebuild |
18 |
+++ b/sci-mathematics/diagrtb/diagrtb-2.64.ebuild |
19 |
@@ -1,8 +1,8 @@ |
20 |
-# Copyright 1999-2014 Gentoo Foundation |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
# $Id$ |
24 |
|
25 |
-EAPI=4 |
26 |
+EAPI=6 |
27 |
|
28 |
inherit cmake-utils fortran-2 |
29 |
|
30 |
@@ -20,11 +20,14 @@ S="${WORKDIR}"/Source_RTB2011 |
31 |
|
32 |
src_prepare() { |
33 |
cp "${FILESDIR}"/CMakeLists.txt . || die |
34 |
+ |
35 |
+ cmake-utils_src_prepare |
36 |
} |
37 |
|
38 |
src_configure() { |
39 |
- mycmakeargs=( |
40 |
- $(cmake-utils_use examples EXAMPLES) |
41 |
+ local mycmakeargs=( |
42 |
+ -DEXAMPLES=$(usex examples) |
43 |
) |
44 |
+ |
45 |
cmake-utils_src_configure |
46 |
} |