--- octave-2.1.73.ebuild 2006-10-31 22:06:49.000000000 -0500 +++ octave-2.1.73.ebuild.new 2006-10-31 22:06:35.000000000 -0500 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-2.1.73.ebuild,v 1.4 2006/10/04 16:58:09 wolf31o2 Exp $ -inherit flag-o-matic fortran +inherit flag-o-matic fortran autotools DESCRIPTION="GNU Octave is a high-level language (MatLab compatible) intended for numerical computations" LICENSE="GPL-2" @@ -30,12 +30,15 @@ # source nor is it free (as in beer OR speech) Check out... # http://developer.intel.com/software/products/mkl/mkl52/index.htm for # more information +FORTRAN="gfortran g77 f2c" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-gcc4.1-gentoo.patch + epatch "${FILESDIR}"/${P}-f2c-fix.patch + eautoconf }