|
|
# Distributed under the terms of the GNU General Public License v2 | # 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 $ | # $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} | MY_P=${P/-mpi} |
S=${WORKDIR}/${MY_P} | S=${WORKDIR}/${MY_P} |
|
|
myconf="--with-rsh=rsh" | myconf="--with-rsh=rsh" |
fi | fi |
| |
|
if use fortran; then |
|
myconf="${myconf} --with-fc=g77" |
|
else |
|
myconf="${myconf} --without-fc" |
|
fi |
|
|
econf \ | econf \ |
--sysconfdir=/etc/lam-mpi \ | --sysconfdir=/etc/lam-mpi \ |
--enable-shared \ | --enable-shared \ |
|
|
--disable-checking \ | --disable-checking \ |
--enable-cstdio=stdio \ | --enable-cstdio=stdio \ |
--with-system-zlib \ | --with-system-zlib \ |
--without-fc \ |
--with-fc=g77 \ |
${myconf} || die | ${myconf} || die |
| |
# sometimes emake doesn't finish since it gets ahead of itself :) | # sometimes emake doesn't finish since it gets ahead of itself :) |