summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Gardner <je_fro@gentoo.org>2008-06-23 03:08:19 +0000
committerJeffrey Gardner <je_fro@gentoo.org>2008-06-23 03:08:19 +0000
commit955f3ed5832044c524c69b1b466f0a046091e7c2 (patch)
treed788c8badef57cac84b1f4154ec52e8d35241199 /sci-chemistry/gromacs
parentechangelog should correct invalid headers pkgmoving. sigh. (diff)
downloadgentoo-2-955f3ed5832044c524c69b1b466f0a046091e7c2.tar.gz
gentoo-2-955f3ed5832044c524c69b1b466f0a046091e7c2.tar.bz2
gentoo-2-955f3ed5832044c524c69b1b466f0a046091e7c2.zip
Moving disco manpage to g_disco, fixing bug 210083.
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r5 x86_64)
Diffstat (limited to 'sci-chemistry/gromacs')
-rw-r--r--sci-chemistry/gromacs/ChangeLog7
-rw-r--r--sci-chemistry/gromacs/files/gromacs-alpha-axp_asm.patch11
-rw-r--r--sci-chemistry/gromacs/files/gromacs-ppc64-altivec.patch18
-rw-r--r--sci-chemistry/gromacs/gromacs-3.2.1-r1.ebuild67
-rw-r--r--sci-chemistry/gromacs/gromacs-3.3.1-r1.ebuild9
5 files changed, 14 insertions, 98 deletions
diff --git a/sci-chemistry/gromacs/ChangeLog b/sci-chemistry/gromacs/ChangeLog
index d2acc91e00d7..29e33afffd9e 100644
--- a/sci-chemistry/gromacs/ChangeLog
+++ b/sci-chemistry/gromacs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-chemistry/gromacs
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gromacs/ChangeLog,v 1.24 2008/06/03 18:45:14 je_fro Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gromacs/ChangeLog,v 1.25 2008/06/23 03:08:17 je_fro Exp $
+
+ 23 Jun 2008; Jeff Gardner <je_fro@gentoo.org>
+ -files/gromacs-alpha-axp_asm.patch, -files/gromacs-ppc64-altivec.patch,
+ -gromacs-3.2.1-r1.ebuild, gromacs-3.3.1-r1.ebuild:
+ Moving disco manpage to g_disco, fixing bug 210083.
03 Jun 2008; Jeff Gardner <je_fro@gentoo.org> gromacs-3.3.1-r1.ebuild:
No altivec patching with this gromacs version. Thanks to Maik Nijhuis in
diff --git a/sci-chemistry/gromacs/files/gromacs-alpha-axp_asm.patch b/sci-chemistry/gromacs/files/gromacs-alpha-axp_asm.patch
deleted file mode 100644
index 071b11f4b3bf..000000000000
--- a/sci-chemistry/gromacs/files/gromacs-alpha-axp_asm.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naur gromacs-3.2.1/src/gmxlib/Makefile.in gromacs-3.2.1-new/src/gmxlib/Makefile.in
---- gromacs-3.2.1/src/gmxlib/Makefile.in 2004-03-01 20:49:02.000000000 +0100
-+++ gromacs-3.2.1-new/src/gmxlib/Makefile.in 2006-05-30 17:40:33.000000000 +0200
-@@ -301,6 +301,7 @@
- LTF77COMPILE = $(LIBTOOL) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS)
- F77LD = $(F77)
- CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS)
-+LTASCOMPILE = $(LIBTOOL) --mode=compile $(AS) $(AM_ASFLAGS) $(ASFLAGS)
- LTCCASCOMPILE = $(LIBTOOL) --mode=compile $(CCAS) $(AM_CCASFLAGS) \
- $(CCASFLAGS)
- DIST_SOURCES = $(libgmx@LIBSUFFIX@_la_SOURCES) \
diff --git a/sci-chemistry/gromacs/files/gromacs-ppc64-altivec.patch b/sci-chemistry/gromacs/files/gromacs-ppc64-altivec.patch
deleted file mode 100644
index d170bbd70ad3..000000000000
--- a/sci-chemistry/gromacs/files/gromacs-ppc64-altivec.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -Naur gromacs-3.2.1/include/ppc_altivec.h gromacs-3.2.1-new/include/ppc_altivec.h
---- gromacs-3.2.1/include/ppc_altivec.h 2003-11-18 02:41:58.000000000 -0600
-+++ gromacs-3.2.1-new/include/ppc_altivec.h 2005-08-04 13:42:05.000000000 -0500
-@@ -33,6 +33,14 @@
- #ifndef _ppc_altivec_h
- #define _ppc_altivec_h
-
-+#if !defined(__APPLE_ALTIVEC__)
-+#include <altivec.h>
-+#ifdef bool
-+#undef bool
-+#define bool int
-+#endif
-+#endif
-+
- static char *SRCID_ppc_altivec_h = "$Id: ppc_altivec.h,v 1.7 2003/11/18 08:41:58 lindahl Exp $";
- #ifdef HAVE_CONFIG_H
- #include <config.h>
diff --git a/sci-chemistry/gromacs/gromacs-3.2.1-r1.ebuild b/sci-chemistry/gromacs/gromacs-3.2.1-r1.ebuild
deleted file mode 100644
index 0d7ee123e392..000000000000
--- a/sci-chemistry/gromacs/gromacs-3.2.1-r1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gromacs/gromacs-3.2.1-r1.ebuild,v 1.5 2008/06/03 18:45:14 je_fro Exp $
-
-inherit eutils
-
-IUSE="altivec mpi xml"
-
-DESCRIPTION="The ultimate molecular dynamics simulation package"
-SRC_URI="ftp://ftp.gromacs.org/pub/${PN}/${P}.tar.gz"
-HOMEPAGE="http://www.gromacs.org/"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc64 x86"
-
-#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)
-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
- xml? ( dev-libs/libxml2 )"
-
-src_unpack() {
- unpack ${A}
- if use ppc64 && use altivec ; then
- epatch "${FILESDIR}"/${PN}-ppc64-altivec.patch
- fi
-}
-
-src_compile() {
-#!!!Please note!!!
-#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.
-
- # 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
- econf \
- --enable-fortran \
- --datadir=/usr/share/${P} \
- --bindir=/usr/bin \
- --libdir=/usr/lib \
- $(use_with xml) \
- $(use_enable mpi) \
- $(use_enable altivec ppc-altivec) \
- $(use_enable alpha axp-asm) || die "configure failed"
-
- # `use_enable static all-static` \
-
- emake || die
-}
-
-src_install () {
- make DESTDIR="${D}" install || die
-
- # Install documentation.
- dodoc AUTHORS INSTALL README
-
- #move html docs under /usr/share/doc
- #and leave examples and templates under /usr/gromacs...
- mv "${D}"/usr/share/${P}/html "${D}"/usr/share/doc/${PF}
-}
diff --git a/sci-chemistry/gromacs/gromacs-3.3.1-r1.ebuild b/sci-chemistry/gromacs/gromacs-3.3.1-r1.ebuild
index 89dbb8c16a55..67a83f399117 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-2008 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.10 2008/06/03 18:45:14 je_fro Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gromacs/gromacs-3.3.1-r1.ebuild,v 1.11 2008/06/23 03:08:17 je_fro Exp $
inherit eutils fortran multilib
@@ -51,6 +51,13 @@ src_unpack() {
-i src/tools/Makefile.am \
|| die "sed tools/Makefile.am failed"
+# Rename disco manpage to fix bug #210083
+ sed "s:disco.1:g_disco.1:" \
+ -i "${S}"/man/man1/Makefile.am \
+ || die "sed failed to rename disco"
+
+ mv "${S}"/man/man1/disco.1 "${S}"/man/man1/g_disco.1
+
cd "${WORKDIR}" && mv ${P} ${P}-single ;
use double-precision && cp -prP ${P}-single ${P}-double ;