Properly indent src_compile, thanks to ferringb.
authorSven Wegener <swegener@gentoo.org>
Sun, 11 Mar 2007 18:03:56 +0000 (18:03 +0000)
committerSven Wegener <swegener@gentoo.org>
Sun, 11 Mar 2007 18:03:56 +0000 (18:03 +0000)
Package-Manager: portage-2.1.2.2

sci-chemistry/gromacs/ChangeLog
sci-chemistry/gromacs/Manifest
sci-chemistry/gromacs/gromacs-3.3.1-r1.ebuild

index 3880ea56ee3ef88d0781aaeabaf0a9b458549c49..e4167fffcb91761db6ccafa2002afd8fdf57dcd1 100644 (file)
@@ -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.
index c6f373bf740f4da32ad1bc5139e04bfc57499daa..73d7795ea756cdacaa63c990b24eb051164842fb 100644 (file)
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 AUX gromacs-alpha-axp_asm.patch 613 RMD160 56a617d34b9aa96f71cb84124271107d56557773 SHA1 96518a8fa20c0d597b5cb26b843f28f26d998942 SHA256 d6ae7d258e975a0c12a8b09bef11874eb0e25d4708f299b3e265c97ada69afee
 MD5 aa14e5e53e2eb5409072fd53896b4578 files/gromacs-alpha-axp_asm.patch 613
 RMD160 56a617d34b9aa96f71cb84124271107d56557773 files/gromacs-alpha-axp_asm.patch 613
@@ -12,14 +15,14 @@ EBUILD gromacs-3.2.1-r1.ebuild 1975 RMD160 ff5dfc572d27eda698c76845a88f58422bfab
 MD5 9b6492c32d8c96d94266e78f314fdcf4 gromacs-3.2.1-r1.ebuild 1975
 RMD160 ff5dfc572d27eda698c76845a88f58422bfabccc gromacs-3.2.1-r1.ebuild 1975
 SHA256 b5b43f7f1d032e64f95b1247530404556db7a57e623c9ceaf4384f2c7f65b0ef gromacs-3.2.1-r1.ebuild 1975
-EBUILD gromacs-3.3.1-r1.ebuild 5715 RMD160 3d1d648cdbde737f141bacfb8b0ae7577d095546 SHA1 2cc17e7d01f9997bcf5d66d8bcf8252cadf04d53 SHA256 c91b24681aabcc58757eba31b2ba3b8b2b7c763a4ceb829055bc34037e28189c
-MD5 b2f360abc3c4994f3b1f82270b328f86 gromacs-3.3.1-r1.ebuild 5715
-RMD160 3d1d648cdbde737f141bacfb8b0ae7577d095546 gromacs-3.3.1-r1.ebuild 5715
-SHA256 c91b24681aabcc58757eba31b2ba3b8b2b7c763a4ceb829055bc34037e28189c gromacs-3.3.1-r1.ebuild 5715
-MISC ChangeLog 5741 RMD160 69b5558c7a8615c17ffefa434a02763891827dbd SHA1 7d31f106d98624956289b2bfb956f96302999442 SHA256 ee7ade28ccf27d6d5db5e63f1930143fa14a7b584e0e2b9005325f836be5d0db
-MD5 ab8a5e2c7fb6d16a7a8ce1a30a7f373c ChangeLog 5741
-RMD160 69b5558c7a8615c17ffefa434a02763891827dbd ChangeLog 5741
-SHA256 ee7ade28ccf27d6d5db5e63f1930143fa14a7b584e0e2b9005325f836be5d0db ChangeLog 5741
+EBUILD gromacs-3.3.1-r1.ebuild 5780 RMD160 dba80b418f8e763539de6ddb80e57254fed0ed09 SHA1 cc2ddc7850760d483ba56d4c84c01ddf04b7624b SHA256 af3440832035a01607e70f7f9f16ef8250a78d36c28ab2b8ed64e76f76d1ca53
+MD5 f94b2d444354187d2973e90742942910 gromacs-3.3.1-r1.ebuild 5780
+RMD160 dba80b418f8e763539de6ddb80e57254fed0ed09 gromacs-3.3.1-r1.ebuild 5780
+SHA256 af3440832035a01607e70f7f9f16ef8250a78d36c28ab2b8ed64e76f76d1ca53 gromacs-3.3.1-r1.ebuild 5780
+MISC ChangeLog 5871 RMD160 0bb07325132f600099a184807047e00456d17e5f SHA1 5307213fa7da8513259daabc65cd813122fb2cd6 SHA256 1cdd2b848690ffe55ee790982bf338959bb468b195c3b6f9df5e2c2b3cc14db3
+MD5 412e3a9818ffd8ec0553d279fdcc733d ChangeLog 5871
+RMD160 0bb07325132f600099a184807047e00456d17e5f ChangeLog 5871
+SHA256 1cdd2b848690ffe55ee790982bf338959bb468b195c3b6f9df5e2c2b3cc14db3 ChangeLog 5871
 MISC metadata.xml 166 RMD160 4452298fd03e7c9395d1182bfe69d60a14144af6 SHA1 cb0b513473c0348f4f6f6cd9a132e4884155fddb SHA256 84c92b49702daf95eace8d2765215cbd8650da4ef776f9f700b5ce3785dec852
 MD5 43628e9f5743b5c3b018a82669a76bc7 metadata.xml 166
 RMD160 4452298fd03e7c9395d1182bfe69d60a14144af6 metadata.xml 166
@@ -30,3 +33,10 @@ SHA256 c24822d0c5dd0545585fa9ebe51c7a1126da729c375ca035c3baaddd5d2d454b files/di
 MD5 0ad487900dfecda21c7258f45d995525 files/digest-gromacs-3.3.1-r1 244
 RMD160 427f90b98362a786e7d5fca69d9069742b943ebf files/digest-gromacs-3.3.1-r1 244
 SHA256 2eaa348fdc15b37c1fb15fb5394f6a26578c22bfd21ea4e719ba6308bbab40fc files/digest-gromacs-3.3.1-r1 244
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFF9ESSI1lqEGTUzyQRAtkNAJ9rWqiJRvuXyTtp7a635hH01D7EmQCfZox8
+ITbG/xeyEOo9EZKzqoe/MTk=
+=PFKl
+-----END PGP SIGNATURE-----
index 44aab86fcf91de731381a880d0a5fa9dc9e16593..63701d60b6fba537e546416535976e8ff3ed3aa6 100644 (file)
@@ -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"