summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-libs/plplot/ChangeLog7
-rw-r--r--sci-libs/plplot/plplot-5.5.2.ebuild6
2 files changed, 8 insertions, 5 deletions
diff --git a/sci-libs/plplot/ChangeLog b/sci-libs/plplot/ChangeLog
index 3f740e77fa07..68ee2573a104 100644
--- a/sci-libs/plplot/ChangeLog
+++ b/sci-libs/plplot/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-libs/plplot
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/plplot/ChangeLog,v 1.9 2006/11/28 18:41:50 opfer Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/plplot/ChangeLog,v 1.10 2007/03/13 00:45:18 kugelfang Exp $
+
+ 13 Mar 2007; Danny van Dyk <kugelfang@gentoo.org> plplot-5.5.2.ebuild:
+ QA: which -> type -P
28 Nov 2006; Christian Faulhammer <opfer@gentoo.org> plplot-5.5.2.ebuild:
moved tcltk USE flag over to separate tk and tcl flags, see bug #17808
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