1 |
commit: ff8b05da94b37de0ff432298884bbecb515a8f96 |
2 |
Author: Chris Kerr <debdepba <AT> dasganma <DOT> tk> |
3 |
AuthorDate: Thu Jan 29 17:36:45 2015 +0000 |
4 |
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 29 17:36:45 2015 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=ff8b05da |
7 |
|
8 |
Using append-cppflags from flag-o-matic as suggested by @junghans |
9 |
|
10 |
--- |
11 |
sci-visualization/mantid/mantid-3.3.0.ebuild | 4 ++-- |
12 |
1 file changed, 2 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/sci-visualization/mantid/mantid-3.3.0.ebuild b/sci-visualization/mantid/mantid-3.3.0.ebuild |
15 |
index d877497..ecb38b2 100644 |
16 |
--- a/sci-visualization/mantid/mantid-3.3.0.ebuild |
17 |
+++ b/sci-visualization/mantid/mantid-3.3.0.ebuild |
18 |
@@ -6,7 +6,7 @@ EAPI=5 |
19 |
|
20 |
FORTRAN_STANDARD=90 |
21 |
PYTHON_COMPAT=python2_7 |
22 |
-inherit eutils cmake-utils versionator python-single-r1 multilib |
23 |
+inherit eutils cmake-utils versionator python-single-r1 multilib flag-o-matic |
24 |
|
25 |
MAJOR_PV=$(get_version_component_range 1-2) |
26 |
|
27 |
@@ -65,7 +65,7 @@ S="${WORKDIR}/${P}-Source" |
28 |
PATCHES=( "${FILESDIR}/${P}-minigzip-OF.patch" ) |
29 |
|
30 |
src_configure() { |
31 |
- export CPPFLAGS="-DHAVE_IOSTREAM -DHAVE_LIMITS -DHAVE_IOMANIP ${CPPFLAGS}" |
32 |
+ append-cppflags -DHAVE_IOSTREAM -DHAVE_LIMITS -DHAVE_IOMANIP |
33 |
mycmakeargs=( $(cmake-utils_use_enable doc QTASSISTANT) |
34 |
$(cmake-utils_use_use doc DOT) |
35 |
$(cmake-utils_use_no opencascade) |