--- /usr/portage/sys-cluster/lam-mpi/lam-mpi-7.0.6.ebuild 2005-02-07 07:12:06.000000000 -0500 +++ /usr/local/portage/sys-cluster/lam-mpi/lam-mpi-7.0.6.ebuild 2005-06-29 15:27:06.000000000 -0400 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/lam-mpi/lam-mpi-7.0.6.ebuild,v 1.6 2005/02/07 12:01:47 eradicator Exp $ -IUSE="crypt" +IUSE="crypt fortran" MY_P=${P/-mpi} S=${WORKDIR}/${MY_P} @@ -39,6 +39,12 @@ src_compile() { myconf="--with-rsh=rsh" fi + if use fortran; then + myconf="${myconf} --with-fc=g77" + else + myconf="${myconf} --without-fc" + fi + econf \ --sysconfdir=/etc/lam-mpi \ --enable-shared \ @@ -48,7 +54,7 @@ src_compile() { --disable-checking \ --enable-cstdio=stdio \ --with-system-zlib \ - --without-fc \ + --with-fc=g77 \ ${myconf} || die # sometimes emake doesn't finish since it gets ahead of itself :)