commit:     ff8b05da94b37de0ff432298884bbecb515a8f96
Author:     Chris Kerr <debdepba <AT> dasganma <DOT> tk>
AuthorDate: Thu Jan 29 17:36:45 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Thu Jan 29 17:36:45 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=ff8b05da

Using append-cppflags from flag-o-matic as suggested by @junghans

---
 sci-visualization/mantid/mantid-3.3.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/mantid/mantid-3.3.0.ebuild 
b/sci-visualization/mantid/mantid-3.3.0.ebuild
index d877497..ecb38b2 100644
--- a/sci-visualization/mantid/mantid-3.3.0.ebuild
+++ b/sci-visualization/mantid/mantid-3.3.0.ebuild
@@ -6,7 +6,7 @@ EAPI=5
 
 FORTRAN_STANDARD=90
 PYTHON_COMPAT=python2_7
-inherit eutils cmake-utils versionator python-single-r1 multilib
+inherit eutils cmake-utils versionator python-single-r1 multilib flag-o-matic
 
 MAJOR_PV=$(get_version_component_range 1-2)
 
@@ -65,7 +65,7 @@ S="${WORKDIR}/${P}-Source"
 PATCHES=( "${FILESDIR}/${P}-minigzip-OF.patch" )
 
 src_configure() {
-       export CPPFLAGS="-DHAVE_IOSTREAM -DHAVE_LIMITS -DHAVE_IOMANIP 
${CPPFLAGS}"
+       append-cppflags -DHAVE_IOSTREAM -DHAVE_LIMITS -DHAVE_IOMANIP
        mycmakeargs=(   $(cmake-utils_use_enable doc QTASSISTANT)
                        $(cmake-utils_use_use doc DOT)
                        $(cmake-utils_use_no opencascade)

Reply via email to