diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-11-17 13:14:53 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-11-17 13:14:53 +0000 |
commit | c123ea08437ce9ff6194da00cf6bc1351c45a37e (patch) | |
tree | 050f6f0c3b58ef2bbb4524ee05dca35874be71b9 /sci-chemistry/cns/cns-1.2.1.ebuild | |
parent | Version Bump (diff) | |
download | gentoo-2-c123ea08437ce9ff6194da00cf6bc1351c45a37e.tar.gz gentoo-2-c123ea08437ce9ff6194da00cf6bc1351c45a37e.tar.bz2 gentoo-2-c123ea08437ce9ff6194da00cf6bc1351c45a37e.zip |
Moved to usage of tc-has-openmp
(Portage version: 2.1.9.24/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/cns/cns-1.2.1.ebuild')
-rw-r--r-- | sci-chemistry/cns/cns-1.2.1.ebuild | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/sci-chemistry/cns/cns-1.2.1.ebuild b/sci-chemistry/cns/cns-1.2.1.ebuild index 7c0cb33baa01..d1c8c4b27e92 100644 --- a/sci-chemistry/cns/cns-1.2.1.ebuild +++ b/sci-chemistry/cns/cns-1.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/cns/cns-1.2.1.ebuild,v 1.6 2010/06/28 21:05:46 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/cns/cns-1.2.1.ebuild,v 1.7 2010/11/17 13:14:53 jlec Exp $ inherit eutils fortran toolchain-funcs versionator flag-o-matic @@ -32,15 +32,7 @@ pkg_nofetch() { pkg_setup() { fortran_pkg_setup - - if use openmp; then - if [[ gcc-major-version < 4 ]] \ - || ( [[ gcc-major-version < 4 ]] && [[ gcc-minor-version < 2 ]] ); then - local msg="Sorry, you need gcc 4.2 or newer to use OpenMP." - eerror "$msg" - die "$msg" - fi - fi + tc-has-openmp } src_unpack() { |