diff options
author | 2007-03-13 00:45:18 +0000 | |
---|---|---|
committer | 2007-03-13 00:45:18 +0000 | |
commit | 9e64a1d0e3285e5b4db87ac0b37f67ec2ee6ff96 (patch) | |
tree | 1895447d4bbdeef9739d5f9337f2028fbde35438 /sci-libs/plplot/plplot-5.5.2.ebuild | |
parent | Replaced text-markup by tex (text-markup split). (diff) | |
download | historical-9e64a1d0e3285e5b4db87ac0b37f67ec2ee6ff96.tar.gz historical-9e64a1d0e3285e5b4db87ac0b37f67ec2ee6ff96.tar.bz2 historical-9e64a1d0e3285e5b4db87ac0b37f67ec2ee6ff96.zip |
QA: which -> type -P
Package-Manager: portage-2.1.2.1-r1
Diffstat (limited to 'sci-libs/plplot/plplot-5.5.2.ebuild')
-rw-r--r-- | sci-libs/plplot/plplot-5.5.2.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sci-libs/plplot/plplot-5.5.2.ebuild b/sci-libs/plplot/plplot-5.5.2.ebuild index 839b798f4495..dfbdcb18b851 100644 --- a/sci-libs/plplot/plplot-5.5.2.ebuild +++ b/sci-libs/plplot/plplot-5.5.2.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/plplot/plplot-5.5.2.ebuild,v 1.7 2006/11/28 18:41:50 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/plplot/plplot-5.5.2.ebuild,v 1.8 2007/03/13 00:45:18 kugelfang Exp $ inherit eutils @@ -53,7 +53,7 @@ pkg_setup() { # If the fortran interface is wanted, the gnu f77 compiler # is needed unless ifc is used (which is taken care of in # the dependencies). - use fortran && ! use ifc || if [ -z 'which g77' ]; then + use fortran && ! use ifc || if [[ -z $(type -P g77) ]]; then eerror "GNU fortran 77 compiler not found on the system." eerror "Please add fortran to your USE flags and reemerge gcc." die |