commit: cc8deae86628989356bdaa48405abe7a867cb49c
Author: Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 11 22:35:58 2017 +0000
Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Sat Feb 11 22:35:58 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc8deae8
sci-mathematics/diagrtb: EAPI 6
Package-Manager: Portage-2.3.3, Repoman-2.3.1
sci-mathematics/diagrtb/diagrtb-2.64.ebuild | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/sci-mathematics/diagrtb/diagrtb-2.64.ebuild
b/sci-mathematics/diagrtb/diagrtb-2.64.ebuild
index 1283039df7..27c9262aa6 100644
--- a/sci-mathematics/diagrtb/diagrtb-2.64.ebuild
+++ b/sci-mathematics/diagrtb/diagrtb-2.64.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=4
+EAPI=6
inherit cmake-utils fortran-2
@@ -20,11 +20,14 @@ S="${WORKDIR}"/Source_RTB2011
src_prepare() {
cp "${FILESDIR}"/CMakeLists.txt . || die
+
+ cmake-utils_src_prepare
}
src_configure() {
- mycmakeargs=(
- $(cmake-utils_use examples EXAMPLES)
+ local mycmakeargs=(
+ -DEXAMPLES=$(usex examples)
)
+
cmake-utils_src_configure
}