summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Anderson <gentoofan23@gentoo.org>2008-05-29 23:49:39 +0000
committerThomas Anderson <gentoofan23@gentoo.org>2008-05-29 23:49:39 +0000
commit6e2325dc342e8a42c6810124404f62aa092ebe62 (patch)
tree9cea173008357d41f3cb53e1641aeb6cdf694508 /sci-mathematics/dataplot/dataplot-20080225-r1.ebuild
parentnet-libs/webkitgtk: Version bump (diff)
downloadsunrise-6e2325dc342e8a42c6810124404f62aa092ebe62.tar.gz
sunrise-6e2325dc342e8a42c6810124404f62aa092ebe62.tar.bz2
sunrise-6e2325dc342e8a42c6810124404f62aa092ebe62.zip
sci-mathematics/dataplot: Switch back to using need_fortran instead of built_with_use checks, though it's doing essentially the same thing behind the scenes
svn path=/sunrise/; revision=6237
Diffstat (limited to 'sci-mathematics/dataplot/dataplot-20080225-r1.ebuild')
-rw-r--r--sci-mathematics/dataplot/dataplot-20080225-r1.ebuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/sci-mathematics/dataplot/dataplot-20080225-r1.ebuild b/sci-mathematics/dataplot/dataplot-20080225-r1.ebuild
index 90e9e1cb4..00f1789bf 100644
--- a/sci-mathematics/dataplot/dataplot-20080225-r1.ebuild
+++ b/sci-mathematics/dataplot/dataplot-20080225-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit eutils toolchain-funcs flag-o-matic autotools
+inherit eutils toolchain-funcs flag-o-matic autotools fortran
# DAY MONTH YEAR
MY_PV=${PV:4:2}_${PV:6:2}_${PV:0:4}
@@ -40,12 +40,8 @@ pkg_setup() {
die
fi
fi
- #We also need a Fortran 77 compiler
- if ! built_with_use sys-devel/gcc fortran; then
- eerror "sys-devel/gcc is not compiled with USE=\"fortran\" and ${PN}
- needs a fortran compiler"
- eerror "Please recompile sys-devel/gcc, ensuring USE=\"fortran\""
- fi
+
+ need_fortran gfortran
}
src_unpack() {