--- gromacs-3.2.1.ebuild 2004-12-28 21:17:54.000000000 -0600 +++ /usr/local/portage/sci-chemistry/gromacs/gromacs-3.2.1.ebuild 2005-04-24 03:32:33.000000000 -0500 @@ -4,7 +4,7 @@ inherit eutils -IUSE="mpi xml2" +IUSE="mpi xml2 altivec" DESCRIPTION="The ultimate molecular dynamics simulation package" SRC_URI="ftp://ftp.gromacs.org/pub/${PN}/${P}.tar.gz" @@ -12,7 +12,7 @@ LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 amd64" +KEYWORDS="x86 amd64 ~ppc64" #mpi is a local USE flag now #May become official when situation with mpich is cleared (now the only mpi implementation awailable is lam-mpi) @@ -34,6 +34,11 @@ then myconf="${myconf} --enable-axp-asm" fi + + if use !altivec + then + myconf="${myconf} --disable-ppc-altivec" + fi # static should work but something's broken. # gcc spec file may be screwed up.