diff options
author | 2008-05-29 23:49:39 +0000 | |
---|---|---|
committer | 2008-05-29 23:49:39 +0000 | |
commit | 6e2325dc342e8a42c6810124404f62aa092ebe62 (patch) | |
tree | 9cea173008357d41f3cb53e1641aeb6cdf694508 /sci-mathematics/dataplot/dataplot-20080225-r1.ebuild | |
parent | net-libs/webkitgtk: Version bump (diff) | |
download | sunrise-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.ebuild | 10 |
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() { |