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 /sci-chemistry/gromacs/gromacs-3.3.1-r1.ebuild
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)
Diffstat (limited to 'sci-chemistry/gromacs/gromacs-3.3.1-r1.ebuild')
-rw-r--r--sci-chemistry/gromacs/gromacs-3.3.1-r1.ebuild9
1 files changed, 5 insertions, 4 deletions
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 \