summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-12-17 07:56:05 +0000
committerJustin Lecher <jlec@gentoo.org>2010-12-17 07:56:05 +0000
commitc9e472f4ed2937e43fd69e597cc0ddef6ebb93a4 (patch)
tree85c8e036514d4919bcf1178f7aff2bac05e6687d /sci-chemistry/cyana/cyana-2.1.ebuild
parentFix for fortran.eclass removal (diff)
downloadgentoo-2-c9e472f4ed2937e43fd69e597cc0ddef6ebb93a4.tar.gz
gentoo-2-c9e472f4ed2937e43fd69e597cc0ddef6ebb93a4.tar.bz2
gentoo-2-c9e472f4ed2937e43fd69e597cc0ddef6ebb93a4.zip
Fix for fortran.eclass removal
(Portage version: 2.2.0_alpha8/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/cyana/cyana-2.1.ebuild')
-rw-r--r--sci-chemistry/cyana/cyana-2.1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sci-chemistry/cyana/cyana-2.1.ebuild b/sci-chemistry/cyana/cyana-2.1.ebuild
index 58834d2fa623..8a9f70ebb2aa 100644
--- a/sci-chemistry/cyana/cyana-2.1.ebuild
+++ b/sci-chemistry/cyana/cyana-2.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/cyana/cyana-2.1.ebuild,v 1.4 2010/12/16 08:39:14 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/cyana/cyana-2.1.ebuild,v 1.5 2010/12/17 07:56:05 jlec Exp $
EAPI="3"
@@ -46,7 +46,7 @@ src_prepare() {
LIBS=-pthread -lpthread -liomp5
EOF
- if [[ $(tc-getFC) == gfortran ]]; then
+ if [[ $(tc-getFC) =~ gfortran ]]; then
cat >> etc/config <<- EOF
DEFS=-Dgfortran
SYSTEM=gfortran