summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2005-07-06 04:08:00 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2005-07-06 04:08:00 +0000
commit8c005c56a997b5d7ec86ede62e10aec4623641de (patch)
tree88c7384573bd57b1b549e374be59728dfa50c7dd /sys-cluster/lam-mpi
parent(#74869) USE flag cleanup, from Diego Pettenó <flameeyes@gentoo.org>. (diff)
downloadgentoo-2-8c005c56a997b5d7ec86ede62e10aec4623641de.tar.gz
gentoo-2-8c005c56a997b5d7ec86ede62e10aec4623641de.tar.bz2
gentoo-2-8c005c56a997b5d7ec86ede62e10aec4623641de.zip
Update ebuild to actually use functionality from fortran.eclass.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-cluster/lam-mpi')
-rw-r--r--sys-cluster/lam-mpi/ChangeLog6
-rw-r--r--sys-cluster/lam-mpi/lam-mpi-7.1.1-r2.ebuild8
2 files changed, 11 insertions, 3 deletions
diff --git a/sys-cluster/lam-mpi/ChangeLog b/sys-cluster/lam-mpi/ChangeLog
index d81013521f0c..8bfd27d8a296 100644
--- a/sys-cluster/lam-mpi/ChangeLog
+++ b/sys-cluster/lam-mpi/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-cluster/lam-mpi
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/lam-mpi/ChangeLog,v 1.36 2005/07/05 23:53:27 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/lam-mpi/ChangeLog,v 1.37 2005/07/06 04:08:00 robbat2 Exp $
+
+ 06 Jul 2005; Robin H. Johnson <robbat2@gentoo.org>
+ lam-mpi-7.1.1-r2.ebuild:
+ Update ebuild to actually use functionality from fortran.eclass.
*lam-mpi-7.1.1-r2 (05 Jul 2005)
diff --git a/sys-cluster/lam-mpi/lam-mpi-7.1.1-r2.ebuild b/sys-cluster/lam-mpi/lam-mpi-7.1.1-r2.ebuild
index d6a3fcd84604..00c1e64e0a5a 100644
--- a/sys-cluster/lam-mpi/lam-mpi-7.1.1-r2.ebuild
+++ b/sys-cluster/lam-mpi/lam-mpi-7.1.1-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/lam-mpi/lam-mpi-7.1.1-r2.ebuild,v 1.1 2005/07/05 23:53:27 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/lam-mpi/lam-mpi-7.1.1-r2.ebuild,v 1.2 2005/07/06 04:08:00 robbat2 Exp $
inherit fortran flag-o-matic
@@ -43,6 +43,10 @@ src_unpack() {
done
}
+pkg_setup() {
+ use fortran && fortran_pkg_setup
+}
+
src_compile() {
local myconf
@@ -56,7 +60,7 @@ src_compile() {
use pbs && append-ldflags -L/usr/lib/pbs
if use fortran; then
- myconf="${myconf} --with-fc=g77"
+ myconf="${myconf} --with-fc=${FORTRANC}"
else
myconf="${myconf} --without-fc"
fi