summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/cns/cns-1.2.1-r2.ebuild')
-rw-r--r--sci-chemistry/cns/cns-1.2.1-r2.ebuild11
1 files changed, 2 insertions, 9 deletions
diff --git a/sci-chemistry/cns/cns-1.2.1-r2.ebuild b/sci-chemistry/cns/cns-1.2.1-r2.ebuild
index 1f255cd6d6c3..6a3dd0f4bdc4 100644
--- a/sci-chemistry/cns/cns-1.2.1-r2.ebuild
+++ b/sci-chemistry/cns/cns-1.2.1-r2.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/cns/cns-1.2.1-r2.ebuild,v 1.3 2010/06/28 21:05:46 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/cns/cns-1.2.1-r2.ebuild,v 1.4 2010/11/17 13:14:53 jlec Exp $
EAPI="3"
@@ -39,14 +39,7 @@ pkg_nofetch() {
pkg_setup() {
fortran_pkg_setup
-
- if [[ $(tc-getCC)$ == *gcc* ]] &&
- ( [[ $(gcc-major-version)$(gcc-minor-version) -lt 42 ]] ||
- ! built_with_use sys-devel/gcc openmp )
- then
- ewarn "You are using gcc and OpenMP is only available with gcc >= 4.2 "
- ewarn "Switch CC to an OpenMP capable compiler"
- fi
+ tc-has-openmp
}
src_prepare() {