diff options
author | Sven Wegener <swegener@gentoo.org> | 2007-03-11 18:03:56 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2007-03-11 18:03:56 +0000 |
commit | 270efca54e133e2bf90d88acc3c1effd80eb4b5d (patch) | |
tree | 686271e3b767afd8d27358f19804b8c63970cd41 /sci-chemistry | |
parent | * bump (diff) | |
download | gentoo-2-270efca54e133e2bf90d88acc3c1effd80eb4b5d.tar.gz gentoo-2-270efca54e133e2bf90d88acc3c1effd80eb4b5d.tar.bz2 gentoo-2-270efca54e133e2bf90d88acc3c1effd80eb4b5d.zip |
Properly indent src_compile, thanks to ferringb.
(Portage version: 2.1.2.2)
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/gromacs/ChangeLog | 5 | ||||
-rw-r--r-- | sci-chemistry/gromacs/gromacs-3.3.1-r1.ebuild | 122 |
2 files changed, 65 insertions, 62 deletions
diff --git a/sci-chemistry/gromacs/ChangeLog b/sci-chemistry/gromacs/ChangeLog index 3880ea56ee3e..e4167fffcb91 100644 --- a/sci-chemistry/gromacs/ChangeLog +++ b/sci-chemistry/gromacs/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-chemistry/gromacs # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gromacs/ChangeLog,v 1.20 2007/03/08 01:21:19 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gromacs/ChangeLog,v 1.21 2007/03/11 18:03:56 swegener Exp $ + + 11 Mar 2007; Sven Wegener <swegener@gentoo.org> gromacs-3.3.1-r1.ebuild: + Properly indent src_compile, thanks to ferringb. 08 Mar 2007; Jason Wever <weeve@gentoo.org> gromacs-3.3.1-r1.ebuild: Stable on SPARC wrt bug #168182. diff --git a/sci-chemistry/gromacs/gromacs-3.3.1-r1.ebuild b/sci-chemistry/gromacs/gromacs-3.3.1-r1.ebuild index 44aab86fcf91..63701d60b6fb 100644 --- a/sci-chemistry/gromacs/gromacs-3.3.1-r1.ebuild +++ b/sci-chemistry/gromacs/gromacs-3.3.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gromacs/gromacs-3.3.1-r1.ebuild,v 1.6 2007/03/08 01:21:19 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gromacs/gromacs-3.3.1-r1.ebuild,v 1.7 2007/03/11 18:03:56 swegener Exp $ inherit eutils fortran multilib @@ -77,85 +77,85 @@ src_compile() { # For more info: # http://lists.debian.org/debian-gcc/2002/debian-gcc-200201/msg00150.html -# We will compile single precision by default, and suffix double-precision with _d. -# Sparc is the only arch I can test on that needs to use fortran. -local myconf ; + # We will compile single precision by default, and suffix double-precision with _d. + # Sparc is the only arch I can test on that needs to use fortran. + local myconf ; -case "${ARCH}" in + case "${ARCH}" in - x86) - myconf="$myconf $(use_enable sse ia32-sse)" - myconf="$myconf $(use_enable sse2 ia32-sse)" - myconf="$myconf $(use_enable 3dnow ia32-3dnow)" + x86) + myconf="$myconf $(use_enable sse ia32-sse)" + myconf="$myconf $(use_enable sse2 ia32-sse)" + myconf="$myconf $(use_enable 3dnow ia32-3dnow)" -# If you don't enable at least one of the above, you must use g77, not gfortran. - if ! use sse && ! use sse2 && ! use 3dnow ; then + # If you don't enable at least one of the above, you must use g77, not gfortran. + if ! use sse && ! use sse2 && ! use 3dnow ; then - if ! has_version "=sys-devel/gcc-3*" ; then - die "If you must run gromacs without sse (not recommended) gfortran will not work." - else myconf="$myconf --enable-fortran" && fortran_pkg_setup + if ! has_version "=sys-devel/gcc-3*" ; then + die "If you must run gromacs without sse (not recommended) gfortran will not work." + else myconf="$myconf --enable-fortran" && fortran_pkg_setup + fi fi - fi - ;; + ;; - amd64) - myconf="$myconf --enable-x86-64-sse" - ;; + amd64) + myconf="$myconf --enable-x86-64-sse" + ;; - ppc) - if use altivec ; then - myconf="$myconf --enable-ppc-altivec --disable-fortran" - else - if ! has_version "=sys-devel/gcc-3*" ; then + ppc) + if use altivec ; then + myconf="$myconf --enable-ppc-altivec --disable-fortran" + else + if ! has_version "=sys-devel/gcc-3*" ; then - die "If you must run gromacs without sse (not recommended) gfortran will not work." + die "If you must run gromacs without sse (not recommended) gfortran will not work." + fi + myconf="$myconf --enable-fortran" && fortran_pkg_setup fi - myconf="$myconf --enable-fortran" && fortran_pkg_setup - fi - ;; - - ppc64) - if use altivec ; then - myconf="$myconf --enable-ppc-altivec --disable-fortran" - else - if ! has_version "=sys-devel/gcc-3*" ; then - die "If you must run gromacs without sse (not recommended) gfortran will not work." + ;; + + ppc64) + if use altivec ; then + myconf="$myconf --enable-ppc-altivec --disable-fortran" + else + if ! has_version "=sys-devel/gcc-3*" ; then + die "If you must run gromacs without sse (not recommended) gfortran will not work." + fi + myconf="$myconf --enable-fortran" && fortran_pkg_setup fi - myconf="$myconf --enable-fortran" && fortran_pkg_setup - fi - ;; + ;; - sparc) - if ! has_version "=sys-devel/gcc-3*" ; then + sparc) + if ! has_version "=sys-devel/gcc-3*" ; then - die "If you must run gromacs without sse (not recommended) gfortran will not work." - else - myconf="$myconf --enable-fortran" && fortran_pkg_setup - fi - ;; + die "If you must run gromacs without sse (not recommended) gfortran will not work." + else + myconf="$myconf --enable-fortran" && fortran_pkg_setup + fi + ;; - ia64) - myconf="$myconf --enable-ia64-asm" - ;; + ia64) + myconf="$myconf --enable-ia64-asm" + ;; - alpha) - myconf="$myconf --enable-axp-asm" - ;; + alpha) + myconf="$myconf --enable-axp-asm" + ;; -esac + esac -myconf="--enable-shared \ - --datadir=/usr/share \ - --bindir=/usr/bin \ - --libdir=/usr/$(get_libdir) \ - --with-fft=fftw3 \ - $(use_with X x) \ - ${myconf}" + myconf="--enable-shared \ + --datadir=/usr/share \ + --bindir=/usr/bin \ + --libdir=/usr/$(get_libdir) \ + --with-fft=fftw3 \ + $(use_with X x) \ + ${myconf}" -# $(use_with mopac7 qmmm-mopac) \ + # $(use_with mopac7 qmmm-mopac) \ -cd "${WORKDIR}"/${P}-single + cd "${WORKDIR}"/${P}-single econf ${myconf} --enable-float || die "configure single-precision failed" emake || die "emake single failed" |