summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2009-05-10 10:17:48 +0000
committerAlexey Shvetsov <alexxy@gentoo.org>2009-05-10 10:17:48 +0000
commitf4c55506fbf1800a3e6f1186f3de1883568539a1 (patch)
tree5e4839ac22dfc93fcec6417c1a7a044ada033fb5 /sci-chemistry/gromacs/gromacs-4.0.4.ebuild
parentVersion bump (#260303). Migrate to EAPI 2. (diff)
downloadgentoo-2-f4c55506fbf1800a3e6f1186f3de1883568539a1.tar.gz
gentoo-2-f4c55506fbf1800a3e6f1186f3de1883568539a1.tar.bz2
gentoo-2-f4c55506fbf1800a3e6f1186f3de1883568539a1.zip
Add upstream fix for sparc bug #260995
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/gromacs/gromacs-4.0.4.ebuild')
-rw-r--r--sci-chemistry/gromacs/gromacs-4.0.4.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/sci-chemistry/gromacs/gromacs-4.0.4.ebuild b/sci-chemistry/gromacs/gromacs-4.0.4.ebuild
index e6564e8d90c7..7a7165cf303a 100644
--- a/sci-chemistry/gromacs/gromacs-4.0.4.ebuild
+++ b/sci-chemistry/gromacs/gromacs-4.0.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gromacs/gromacs-4.0.4.ebuild,v 1.1 2009/04/20 13:39:12 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gromacs/gromacs-4.0.4.ebuild,v 1.2 2009/05/10 10:17:48 alexxy Exp $
EAPI="2"
@@ -32,6 +32,8 @@ DEPEND="app-shells/tcsh
RDEPEND="${DEPEND}"
src_prepare() {
+
+ epatch "${FILESDIR}/${P}-sparc-cyclecounter.patch"
# Fix typos in a couple of files.
sed -e "s:+0f:-f:" -i share/tutor/gmxdemo/demo \
|| die "Failed to fixup demo script."
@@ -52,7 +54,7 @@ src_prepare() {
sed -e "s:\$\$libdir:\$\$temp_libdir:" \
-i src/tools/Makefile.am \
|| die "sed tools/Makefile.am failed"
-
+
use fkernels && epatch "${FILESDIR}/${P}-configure-gfortran.patch"
eautoreconf