diff options
author | Danny van Dyk <kugelfang@gentoo.org> | 2007-03-13 00:24:34 +0000 |
---|---|---|
committer | Danny van Dyk <kugelfang@gentoo.org> | 2007-03-13 00:24:34 +0000 |
commit | 41c885de393b87298ca9a4a63c5075b3ba6904bf (patch) | |
tree | 7f7636dc06eb0b6b563727d37b1959f8a2d446f0 /sci-libs/blas-atlas/blas-atlas-3.6.0.ebuild | |
parent | Replaced text-markup by tex (text-markup split). (diff) | |
download | gentoo-2-41c885de393b87298ca9a4a63c5075b3ba6904bf.tar.gz gentoo-2-41c885de393b87298ca9a4a63c5075b3ba6904bf.tar.bz2 gentoo-2-41c885de393b87298ca9a4a63c5075b3ba6904bf.zip |
QA: which -> type -P
(Portage version: 2.1.2.1-r1)
Diffstat (limited to 'sci-libs/blas-atlas/blas-atlas-3.6.0.ebuild')
-rw-r--r-- | sci-libs/blas-atlas/blas-atlas-3.6.0.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sci-libs/blas-atlas/blas-atlas-3.6.0.ebuild b/sci-libs/blas-atlas/blas-atlas-3.6.0.ebuild index f6b83f8f0b59..ec00f42ed9e4 100644 --- a/sci-libs/blas-atlas/blas-atlas-3.6.0.ebuild +++ b/sci-libs/blas-atlas/blas-atlas-3.6.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-atlas/blas-atlas-3.6.0.ebuild,v 1.7 2006/01/28 15:32:30 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-atlas/blas-atlas-3.6.0.ebuild,v 1.8 2007/03/13 00:24:34 kugelfang Exp $ inherit eutils toolchain-funcs @@ -25,7 +25,7 @@ PROVIDE="virtual/blas" S=${WORKDIR}/ATLAS pkg_setup() { - if [ -z `which g77` ]; then + if [[ -z `type -P g77` ]]; then eerror "No fortran compiler found on the system!" eerror "Please add fortran to your USE flags and reemerge gcc!" die |