public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/smmp/
Date: Fri, 24 Jun 2011 17:09:08 +0000 (UTC)	[thread overview]
Message-ID: <22716034acc6451caffcdc2f2722b3ba14bb610e.jlec@gentoo> (raw)

commit:     22716034acc6451caffcdc2f2722b3ba14bb610e
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 24 12:11:35 2011 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Jun 24 12:11:35 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=22716034

Streamlined fortran-2 eclass usage

(Portage version: 2.2.0_alpha41/git/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 70EB7916)

---
 sci-chemistry/smmp/ChangeLog         |    3 +++
 sci-chemistry/smmp/smmp-3.0.5.ebuild |   12 ++++++------
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/sci-chemistry/smmp/ChangeLog b/sci-chemistry/smmp/ChangeLog
index f58c391..cddd7bf 100644
--- a/sci-chemistry/smmp/ChangeLog
+++ b/sci-chemistry/smmp/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  24 Jun 2011; Justin Lecher <jlec@gentoo.org> smmp-3.0.5.ebuild:
+  Streamlined fortran-2 eclass usage
+
   21 Jun 2011; Justin Lecher <jlec@gentoo.org> smmp-3.0.5.ebuild:
   Added fortran-2.eclass support
 

diff --git a/sci-chemistry/smmp/smmp-3.0.5.ebuild b/sci-chemistry/smmp/smmp-3.0.5.ebuild
index 0c226db..8f49f3d 100644
--- a/sci-chemistry/smmp/smmp-3.0.5.ebuild
+++ b/sci-chemistry/smmp/smmp-3.0.5.ebuild
@@ -22,7 +22,9 @@ KEYWORDS="~amd64 ~x86"
 LICENSE="GPL-2"
 IUSE="doc mpi test"
 
-RDEPEND="mpi? ( virtual/mpi )"
+RDEPEND="
+	virtual/fortran
+	mpi? ( virtual/mpi )"
 DEPEND="${RDEPEND}
 	doc? ( app-doc/doxygen )"
 
@@ -37,18 +39,16 @@ src_compile() {
 		FC="mpif90"
 		target="parallel"
 	else
-		FC=$(tc-getFC)
 		target="${PN}"
 	fi
 
-	emake FC=${FC} ${target} || die
+	tc-export FC
 
-	if use test; then
-		emake FC=${FC} examples || die
-	fi
+	emake ${target} || die
 }
 
 src_test() {
+	emake examples || die
 	cd EXAMPLES
 	bash smmp.cmd || die
 }



             reply	other threads:[~2011-06-24 17:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-24 17:09 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-10-16  4:49 [gentoo-commits] proj/sci:master commit in: sci-chemistry/smmp/ Nicolas Bock
2013-10-15 17:17 Justin Lecher
2013-06-16 15:53 [gentoo-commits] proj/sci:fixing " Justin Lecher
2013-06-16 15:53 ` [gentoo-commits] proj/sci:master " Justin Lecher
2011-06-21 11:54 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=22716034acc6451caffcdc2f2722b3ba14bb610e.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox