7c7 < IUSE="altivec mpi 3dnow sse2" --- > IUSE="altivec mpi xml2" 19,22c19,41 < DEPEND="sci-libs/fftw < mpi? ( >=sys-cluster/lam-mpi-7.0.6 ) < >=sys-devel/binutils-2.16 < app-shells/tcsh" --- > DEPEND="=sci-libs/fftw-2.1* > mpi? ( >=sys-cluster/lam-mpi-6.5.6 ) > >=sys-devel/binutils-2.10.91.0.2 > app-shells/tcsh > xml2? ( dev-libs/libxml2 )" > > pkg_setup() { > # !!!Please note!!! > # for troublesome work gromacs should be compiled with the same mpi setting > # as fftw. > if use mpi; then > if ! built_with_use =sci-libs/fftw-2.1* mpi; then > die "=sci-libs/fftw-2.1* must be built with USE=mpi." > fi > fi > } > > src_unpack() { > unpack ${A} > if use ppc64 && use altivec ; then > epatch ${FILESDIR}/${PN}-ppc64-altivec.patch > fi > } 24a44,48 > # static should work but something's broken. > # gcc spec file may be screwed up. > # Static linking should try -lgcc instead of -lgcc_s. > # For more info: > # http://lists.debian.org/debian-gcc/2002/debian-gcc-200201/msg00150.html 25a50 > --enable-fortran \ 28a54 > $(use_with xml2 xml) \ 30,32c56,59 < $(use_enable 3dnow ia32-3dnow) \ < $(use_enable sse2 ia32-sse) \ < $(use_enable altivec ppc-altivec) || die "configure failed" --- > $(use_enable altivec ppc-altivec) \ > $(use_enable alpha axp-asm) || die "configure failed" > > # $(use_enable static all-static) \