diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-06-28 23:39:16 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-06-28 23:39:16 +0000 |
commit | 0bf66f79ee58a459385afdd15abad0f617af5ef6 (patch) | |
tree | 4df372b1eb5ff44d431c7eb93618c611551ddfe8 /sci-libs | |
parent | Rebase on upstreamed image patch (diff) | |
download | gentoo-2-0bf66f79ee58a459385afdd15abad0f617af5ef6.tar.gz gentoo-2-0bf66f79ee58a459385afdd15abad0f617af5ef6.tar.bz2 gentoo-2-0bf66f79ee58a459385afdd15abad0f617af5ef6.zip |
keyword amd64-linux and x86-linux. cleaned up openmp check
(Portage version: 2.2.01.20430-prefix/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/colpack/ChangeLog | 5 | ||||
-rw-r--r-- | sci-libs/colpack/colpack-1.0.6.ebuild | 12 |
2 files changed, 8 insertions, 9 deletions
diff --git a/sci-libs/colpack/ChangeLog b/sci-libs/colpack/ChangeLog index 85554e13e599..61abf70cb91d 100644 --- a/sci-libs/colpack/ChangeLog +++ b/sci-libs/colpack/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-libs/colpack # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/colpack/ChangeLog,v 1.1 2012/04/13 03:24:24 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/colpack/ChangeLog,v 1.2 2012/06/28 23:39:16 bicatali Exp $ + + 28 Jun 2012; Sebastien Fabbro <fabbros@gentoo.org> colpack-1.0.6.ebuild: + keyword amd64-linux and x86-linux. cleaned up openmp check *colpack-1.0.6 (13 Apr 2012) diff --git a/sci-libs/colpack/colpack-1.0.6.ebuild b/sci-libs/colpack/colpack-1.0.6.ebuild index 93dfa82d1386..5a44e89acd2c 100644 --- a/sci-libs/colpack/colpack-1.0.6.ebuild +++ b/sci-libs/colpack/colpack-1.0.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/colpack/colpack-1.0.6.ebuild,v 1.1 2012/04/13 03:24:24 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/colpack/colpack-1.0.6.ebuild,v 1.2 2012/06/28 23:39:16 bicatali Exp $ EAPI=4 @@ -15,7 +15,7 @@ SRC_URI="http://www.cscapes.org/download/${MYPN}/${MYPN}-${PV}.tar.gz" SLOT="0" IUSE="openmp static-libs" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" RDEPEND="" DEPEND="${RDEPEND}" @@ -23,12 +23,8 @@ DEPEND="${RDEPEND}" S="${WORKDIR}/${MYPN}-${PV}" pkg_setup() { - if use openmp && - [[ $(tc-getCC)$ == *gcc* ]] && - ( [[ $(gcc-major-version)$(gcc-minor-version) -lt 42 ]] || - ! has_version sys-devel/gcc[openmp] ) - then - ewarn "You are using gcc and OpenMP is only available with gcc >= 4.2 " + if use openmp && [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp; then + ewarn "You are using gcc without OpenMP" die "Need an OpenMP capable compiler" fi } |