summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Gardner <je_fro@gentoo.org>2007-03-07 23:12:59 +0000
committerJeffrey Gardner <je_fro@gentoo.org>2007-03-07 23:12:59 +0000
commit8b29d34b96e592242977d516d244945d471ebd5a (patch)
tree7c3ed46275f72e883c3432fc6b24575bd9837486
parentChange all instances of [ to [[. (diff)
downloadgentoo-2-8b29d34b96e592242977d516d244945d471ebd5a.tar.gz
gentoo-2-8b29d34b96e592242977d516d244945d471ebd5a.tar.bz2
gentoo-2-8b29d34b96e592242977d516d244945d471ebd5a.zip
Fix up demo script so the xterms stay open.
(Portage version: 2.1.2-r9)
-rw-r--r--sci-chemistry/gromacs/ChangeLog5
-rw-r--r--sci-chemistry/gromacs/gromacs-3.3.1-r1.ebuild9
2 files changed, 9 insertions, 5 deletions
diff --git a/sci-chemistry/gromacs/ChangeLog b/sci-chemistry/gromacs/ChangeLog
index 5acc3552d824..45d65da8b3dc 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.18 2007/02/24 19:06:05 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gromacs/ChangeLog,v 1.19 2007/03/07 23:12:59 je_fro Exp $
+
+ 07 Mar 2007; Jeff Gardner <je_fro@gentoo.org> gromacs-3.3.1-r1.ebuild:
+ Fix up the demo script so the xterms stay open.
24 Feb 2007; Raúl Porcel <armin76@gentoo.org> gromacs-3.3.1-r1.ebuild:
x86 stable 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 aa7028bab874..bfe682980e6e 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.4 2007/02/24 19:06:05 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gromacs/gromacs-3.3.1-r1.ebuild,v 1.5 2007/03/07 23:12:59 je_fro Exp $
inherit eutils fortran multilib
@@ -29,8 +29,6 @@ DEPEND=">=sci-libs/fftw-3.0.1
x11-proto/xproto
virtual/motif )"
-# mopac7? ( sci-chemistry/mopac7 )
-
src_unpack() {
unpack ${A}
@@ -44,12 +42,15 @@ src_unpack() {
cd "${S}"
-# Fix a typo in a couple of files.
+# Fix typos in a couple of files.
sed -e "s:_nb_kerne010_x86_64_sse2:_nb_kernel010_x86_64_sse2:" \
-i src/gmxlib/nonbonded/nb_kernel_x86_64_sse2/nb_kernel010_x86_64_sse2.intel_syntax.s \
-i src/gmxlib/nonbonded/nb_kernel_x86_64_sse2/nb_kernel010_x86_64_sse2.s \
|| die "Failed to fix sse2 typo."
+ sed -e "s:+0f:-f:" -i share/tutor/gmxdemo/demo \
+ || die "Failed to fixup demo script."
+
# Fix a sandbox violation that occurs when re-emerging with mpi.
sed "/libdir=\"\$(libdir)\"/ a\ temp_libdir=\"${D}usr/$( get_libdir )\" ; \\\\" \
-i src/tools/Makefile.am \