summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-12-17 08:07:54 +0000
committerJustin Lecher <jlec@gentoo.org>2010-12-17 08:07:54 +0000
commit13c6d5c4c99b02bad8e7b944731b1d046e1eeb37 (patch)
treee4e101c4eeba3a3a5198dceddef9843687ef842e /sci-chemistry
parentDrop --libdir argument to econf, it seems no longer necessary (diff)
downloadgentoo-2-13c6d5c4c99b02bad8e7b944731b1d046e1eeb37.tar.gz
gentoo-2-13c6d5c4c99b02bad8e7b944731b1d046e1eeb37.tar.bz2
gentoo-2-13c6d5c4c99b02bad8e7b944731b1d046e1eeb37.zip
Fix for fortran.eclass removal
(Portage version: 2.2.0_alpha8/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/tinker/ChangeLog5
-rw-r--r--sci-chemistry/tinker/tinker-6.ebuild6
2 files changed, 7 insertions, 4 deletions
diff --git a/sci-chemistry/tinker/ChangeLog b/sci-chemistry/tinker/ChangeLog
index ae4095747dd6..c13086e9cfcc 100644
--- a/sci-chemistry/tinker/ChangeLog
+++ b/sci-chemistry/tinker/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-chemistry/tinker
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/tinker/ChangeLog,v 1.29 2010/12/16 13:59:36 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/tinker/ChangeLog,v 1.30 2010/12/17 08:07:54 jlec Exp $
+
+ 17 Dec 2010; Justin Lecher <jlec@gentoo.org> tinker-6.ebuild:
+ Fix for fortran.eclass removal
16 Dec 2010; Justin Lecher <jlec@gentoo.org> tinker-5.1.09.ebuild,
tinker-6.ebuild:
diff --git a/sci-chemistry/tinker/tinker-6.ebuild b/sci-chemistry/tinker/tinker-6.ebuild
index 2a90d59d3261..c5979ca6306b 100644
--- a/sci-chemistry/tinker/tinker-6.ebuild
+++ b/sci-chemistry/tinker/tinker-6.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/tinker/tinker-6.ebuild,v 1.2 2010/12/16 13:59:36 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/tinker/tinker-6.ebuild,v 1.3 2010/12/17 08:07:54 jlec Exp $
EAPI="2"
@@ -33,7 +33,7 @@ pkg_setup() {
src_prepare() {
sed 's:strip:true:g' -i ../make/Makefile
- [[ $(tc-getFC) == "ifort" ]] || epatch "${FILESDIR}"/${PV}-openmp.patch
+ [[ $(tc-getFC) =~ "ifort" ]] || epatch "${FILESDIR}"/${PV}-openmp.patch
}
src_compile() {
@@ -45,7 +45,7 @@ src_compile() {
# use dummy routines in pmpb.f instead of apbs calls
rm pmpb.c || die
- if [[ $(tc-getFC) == "gfortran" ]]; then
+ if [[ $(tc-getFC) =~ "gfortran" ]]; then
append-flags -fopenmp
_omplib="-lgomp"
else