diff -Naur gromacs/gromacs-3.2.1.ebuild gromacs-new/gromacs-3.2.1.ebuild --- gromacs/gromacs-3.2.1.ebuild 2004-12-28 22:17:54.000000000 -0500 +++ gromacs-new/gromacs-3.2.1.ebuild 2005-05-01 08:52:21.000000000 -0400 @@ -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) @@ -27,13 +27,6 @@ #for troublesome work gromacs should be compiled with the same mpi setting as fftw. #Unfortunately portage cannot trace optional dependencies of dependencies at present. #Until this (planned) feature is completed, please try to do corresponding check yourself. - local myconf - - # Enable asm on Alphas - if [ "${ARCH}" = "alpha" ] - then - myconf="${myconf} --enable-axp-asm" - fi # static should work but something's broken. # gcc spec file may be screwed up. @@ -45,9 +38,10 @@ --datadir=/usr/share/${P} \ --bindir=/usr/bin \ --libdir=/usr/lib \ - `use_with xml2 xml` \ - `use_enable mpi` \ - ${myconf} || die "configure failed" + $(use_with xml2 xml) \ + $(use_enable mpi) \ + $(use_enable altivec ppc-altivec) \ + $(use_enable alpha axp-asm) || die "configure failed" # `use_enable static all-static` \