summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <spyderous@gentoo.org>2004-07-28 08:08:41 +0000
committerDonnie Berkholz <spyderous@gentoo.org>2004-07-28 08:08:41 +0000
commitc4c762ef27508999c433f75f6677cc519f8c388d (patch)
treeb618cf51237fd702d663a44a5c826a35711272e6 /app-sci
parentAdded mime USE flag support (diff)
downloadgentoo-2-c4c762ef27508999c433f75f6677cc519f8c388d.tar.gz
gentoo-2-c4c762ef27508999c433f75f6677cc519f8c388d.tar.bz2
gentoo-2-c4c762ef27508999c433f75f6677cc519f8c388d.zip
Search for a fortran compiler, since gcc doesn't compile one by default anymore (#58628).
Diffstat (limited to 'app-sci')
-rw-r--r--app-sci/molden/ChangeLog7
-rw-r--r--app-sci/molden/molden-3.9.ebuild12
-rw-r--r--app-sci/molden/molden-4.0.ebuild12
-rw-r--r--app-sci/molden/molden-4.1.ebuild12
4 files changed, 39 insertions, 4 deletions
diff --git a/app-sci/molden/ChangeLog b/app-sci/molden/ChangeLog
index e2cd1c90c68b..c943ae4cf8bf 100644
--- a/app-sci/molden/ChangeLog
+++ b/app-sci/molden/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-sci/molden
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/molden/ChangeLog,v 1.13 2004/07/27 08:06:11 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/molden/ChangeLog,v 1.14 2004/07/28 08:08:41 spyderous Exp $
+
+ 28 Jul 2004; Donnie Berkholz <spyderous@gentoo.org>; molden-3.9.ebuild,
+ molden-4.0.ebuild, molden-4.1.ebuild:
+ Search for a fortran compiler, since gcc doesn't compile one by default
+ anymore (#58628).
27 Jul 2004; Donnie Berkholz <spyderous@gentoo.org>; molden-4.0.ebuild:
x86.
diff --git a/app-sci/molden/molden-3.9.ebuild b/app-sci/molden/molden-3.9.ebuild
index 275ffee4c400..97846348fe2b 100644
--- a/app-sci/molden/molden-3.9.ebuild
+++ b/app-sci/molden/molden-3.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/molden/molden-3.9.ebuild,v 1.6 2004/06/24 22:10:34 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/molden/molden-3.9.ebuild,v 1.7 2004/07/28 08:08:41 spyderous Exp $
inherit gcc eutils
@@ -21,6 +21,16 @@ RDEPEND="virtual/x11
S=${WORKDIR}/${MY_P}
src_unpack() {
+ # Set fortran compiler, since gcc-config doesn't
+ [ -z ${FC} ] && FC="g77"
+
+ # Check for fortran compiler
+ if [ ! "`which ${FC} 2> /dev/null`" ]; then
+ eerror "Fortran compiler not found."
+ eerror "Please recompile sys-devel/gcc with f77 in USE flags."
+ die
+ fi
+
unpack ${A}
cd ${S}
diff --git a/app-sci/molden/molden-4.0.ebuild b/app-sci/molden/molden-4.0.ebuild
index bb50d28eb27c..468120f8372b 100644
--- a/app-sci/molden/molden-4.0.ebuild
+++ b/app-sci/molden/molden-4.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/molden/molden-4.0.ebuild,v 1.9 2004/07/27 08:06:11 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/molden/molden-4.0.ebuild,v 1.10 2004/07/28 08:08:41 spyderous Exp $
inherit eutils gcc flag-o-matic
@@ -21,6 +21,16 @@ RDEPEND="virtual/x11
S=${WORKDIR}/${MY_P}
src_unpack() {
+ # Set fortran compiler, since gcc-config doesn't
+ [ -z ${FC} ] && FC="g77"
+
+ # Check for fortran compiler
+ if [ ! "`which ${FC} 2> /dev/null`" ]; then
+ eerror "Fortran compiler not found."
+ eerror "Please recompile sys-devel/gcc with f77 in USE flags."
+ die
+ fi
+
unpack ${A}
cd ${S}
diff --git a/app-sci/molden/molden-4.1.ebuild b/app-sci/molden/molden-4.1.ebuild
index e662916d0e30..cbaf4a65dfa1 100644
--- a/app-sci/molden/molden-4.1.ebuild
+++ b/app-sci/molden/molden-4.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/molden/molden-4.1.ebuild,v 1.1 2004/07/27 08:03:45 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/molden/molden-4.1.ebuild,v 1.2 2004/07/28 08:08:41 spyderous Exp $
inherit eutils gcc flag-o-matic
@@ -22,6 +22,16 @@ RDEPEND="virtual/x11
S=${WORKDIR}/${MY_P}
src_unpack() {
+ # Set fortran compiler, since gcc-config doesn't
+ [ -z ${FC} ] && FC="g77"
+
+ # Check for fortran compiler
+ if [ ! "`which ${FC} 2> /dev/null`" ]; then
+ eerror "Fortran compiler not found."
+ eerror "Please recompile sys-devel/gcc with f77 in USE flags."
+ die
+ fi
+
unpack ${A}
cd ${S}