commit:     d5e2245ffa5d0632b79ed33ab39acfc91b40944e
Author:     Chris Kerr <debdepba <AT> dasganma <DOT> tk>
AuthorDate: Tue Jan 20 21:23:32 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Jan 20 21:23:32 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=d5e2245f

export MAKEOPTS in pkg_setup so we can use the default src_compile

---
 sci-libs/nexus/nexus-4.3.1.ebuild | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/sci-libs/nexus/nexus-4.3.1.ebuild 
b/sci-libs/nexus/nexus-4.3.1.ebuild
index 22c81d4..e887f03 100644
--- a/sci-libs/nexus/nexus-4.3.1.ebuild
+++ b/sci-libs/nexus/nexus-4.3.1.ebuild
@@ -33,6 +33,8 @@ DEPEND="${RDEPEND}
 
 pkg_setup() {
        use python && python-single-r1_pkg_setup
+       # Handling of dependencies between Fortran module files doesn't play 
well with parallel make
+       use fortran && export MAKEOPTS="${MAKEOPTS} -j1 "
        use fortran && fortran-2_pkg_setup
 }
 
@@ -50,9 +52,3 @@ src_configure() {
                $(use_with java) \
                $(use_with python)
 }
-
-src_compile() {
-       # Handling of dependencies between Fortran module files doesn't play 
well with parallel make
-       use fortran && MAKEOPTS="${MAKEOPTS} -j1 "
-       default
-}

Reply via email to