summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2004-06-05 23:08:32 +0000
committerGeorge Shapovalov <george@gentoo.org>2004-06-05 23:08:32 +0000
commit96a834821f0c50066b183ea7a25786eef3977f65 (patch)
treec38763ddd594a99d8ed947f212ae84478e766b91 /app-sci/lapack-atlas
parentadded ~amd64 (Manifest recommit) (diff)
downloadgentoo-2-96a834821f0c50066b183ea7a25786eef3977f65.tar.gz
gentoo-2-96a834821f0c50066b183ea7a25786eef3977f65.tar.bz2
gentoo-2-96a834821f0c50066b183ea7a25786eef3977f65.zip
fixed g77 check when ifc installed
Diffstat (limited to 'app-sci/lapack-atlas')
-rw-r--r--app-sci/lapack-atlas/ChangeLog5
-rw-r--r--app-sci/lapack-atlas/lapack-atlas-3.6.0.ebuild15
2 files changed, 12 insertions, 8 deletions
diff --git a/app-sci/lapack-atlas/ChangeLog b/app-sci/lapack-atlas/ChangeLog
index 2ba1455d0dfb..bf7503b1e6c1 100644
--- a/app-sci/lapack-atlas/ChangeLog
+++ b/app-sci/lapack-atlas/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-sci/lapack-atlas
# Copyright 2004-2004 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-sci/lapack-atlas/ChangeLog,v 1.4 2004/06/02 14:17:14 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/lapack-atlas/ChangeLog,v 1.5 2004/06/05 23:08:32 george Exp $
+
+ 05 Jun 2004; George Shapovalov <george@gentoo.org> lapack-atlas-3.6.0.ebuild :
+ fixed check for g77 - it is always necessary, even if ifc is installed (#30459)
02 Jun 2004; Aron Griffis <agriffis@gentoo.org> lapack-atlas-3.6.0.ebuild:
Fix use invocation
diff --git a/app-sci/lapack-atlas/lapack-atlas-3.6.0.ebuild b/app-sci/lapack-atlas/lapack-atlas-3.6.0.ebuild
index ec02fa1ebcb3..d5c845987f62 100644
--- a/app-sci/lapack-atlas/lapack-atlas-3.6.0.ebuild
+++ b/app-sci/lapack-atlas/lapack-atlas-3.6.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/lapack-atlas/lapack-atlas-3.6.0.ebuild,v 1.3 2004/06/02 14:17:14 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/lapack-atlas/lapack-atlas-3.6.0.ebuild,v 1.4 2004/06/05 23:08:32 george Exp $
inherit eutils
@@ -17,8 +17,7 @@ KEYWORDS="~x86"
IUSE="ifc doc"
DEPEND="virtual/glibc
- ifc? ( >=sys-devel/libtool-1.5 )
- !ifc? ( sys-devel/libtool )
+ >=sys-devel/libtool-1.5
=app-sci/blas-atlas-3.6.0
app-sci/lapack-config
ifc? ( dev-lang/ifc )"
@@ -56,10 +55,12 @@ ifc_info() {
}
pkg_setup() {
- use ifc || if [ -z `which g77` ]; then
- #if ifc is defined then the dep was already checked
- eerror "No fortran compiler found on the system!"
- eerror "Please add g77 to your USE flags and reemerge gcc!"
+ # We need g77 to compile the LAPACK routines from ATLAS.
+ # `use ifc` only causes the non-ATLAS routines (from the
+ # reference set) to be built with ifc.
+ if [ -z `which g77` ]; then
+ eerror "g77 not found on the system!"
+ eerror "Please add f77 to your USE flags and reemerge gcc!"
die
fi
}