commit:     4c29e7ba00e91fcc5499aa853e8a4d4a33d221f6
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  2 08:57:21 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jul  2 08:57:21 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=4c29e7ba

sci-chemistry/erkale: Move use() call to local scope

Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sci-chemistry/erkale/erkale-9999.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-chemistry/erkale/erkale-9999.ebuild 
b/sci-chemistry/erkale/erkale-9999.ebuild
index 2b76123..999f191 100644
--- a/sci-chemistry/erkale/erkale-9999.ebuild
+++ b/sci-chemistry/erkale/erkale-9999.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 inherit cmake-utils flag-o-matic git-r3 multibuild toolchain-funcs
 
@@ -27,9 +27,9 @@ DEPEND="${DEPEND}
 "
 
 MULTIBUILD_VARIANTS=( serial )
-use openmp && MULTIBUILD_VARIANTS+=( omp )
 
 src_prepare() {
+       use openmp && MULTIBUILD_VARIANTS+=( omp )
        append-cxxflags "-DARMA_DONT_USE_ATLAS -DARMA_DONT_USE_WRAPPER"
        cmake-utils_src_prepare
 }

Reply via email to