summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/gromacs/gromacs-3.2.1-r1.ebuild')
-rw-r--r--sci-chemistry/gromacs/gromacs-3.2.1-r1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/sci-chemistry/gromacs/gromacs-3.2.1-r1.ebuild b/sci-chemistry/gromacs/gromacs-3.2.1-r1.ebuild
index a5015f9b669b..785fd0bef965 100644
--- a/sci-chemistry/gromacs/gromacs-3.2.1-r1.ebuild
+++ b/sci-chemistry/gromacs/gromacs-3.2.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 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.1 2005/08/04 19:05:26 omkhar Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gromacs/gromacs-3.2.1-r1.ebuild,v 1.2 2005/08/05 15:55:41 omkhar Exp $
inherit eutils
@@ -24,7 +24,9 @@ DEPEND="=sci-libs/fftw-2.1*
src_unpack() {
unpack ${A}
- epatch ${FILESDIR}/${PN}-ppc64-altivec.patch
+ if use ppc64 && use altivec ; then
+ epatch ${FILESDIR}/${PN}-ppc64-altivec.patch
+ fi
}
src_compile() {