diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2010-06-02 13:14:01 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2010-06-02 13:14:01 +0000 |
commit | 50a0ba02a508197e0fbe2a7cc18f45fb91d998b0 (patch) | |
tree | dd5d9c5b3ec5b5940fda0626975803642fd9918e /sci-libs | |
parent | whitespace (diff) | |
download | gentoo-2-50a0ba02a508197e0fbe2a7cc18f45fb91d998b0.tar.gz gentoo-2-50a0ba02a508197e0fbe2a7cc18f45fb91d998b0.tar.bz2 gentoo-2-50a0ba02a508197e0fbe2a7cc18f45fb91d998b0.zip |
Use tc-has-openmp rather than built_with_use
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/minuit/ChangeLog | 5 | ||||
-rw-r--r-- | sci-libs/minuit/minuit-5.27.02.ebuild | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/sci-libs/minuit/ChangeLog b/sci-libs/minuit/ChangeLog index 32a1919f190b..a2c6151205a7 100644 --- a/sci-libs/minuit/ChangeLog +++ b/sci-libs/minuit/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-libs/minuit # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/minuit/ChangeLog,v 1.12 2010/06/02 09:51:02 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/minuit/ChangeLog,v 1.13 2010/06/02 13:14:01 xarthisius Exp $ + + 02 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org> minuit-5.27.02.ebuild: + Use tc-has-openmp rather than built_with_use 02 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org> minuit-5.27.02.ebuild, +files/minuit-5.27.02-asneeded.patch: diff --git a/sci-libs/minuit/minuit-5.27.02.ebuild b/sci-libs/minuit/minuit-5.27.02.ebuild index 2b362aab4d04..6b77fb7bdc3c 100644 --- a/sci-libs/minuit/minuit-5.27.02.ebuild +++ b/sci-libs/minuit/minuit-5.27.02.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-libs/minuit/minuit-5.27.02.ebuild,v 1.2 2010/06/02 09:51:02 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/minuit/minuit-5.27.02.ebuild,v 1.3 2010/06/02 13:14:01 xarthisius Exp $ EAPI=2 inherit autotools eutils toolchain-funcs @@ -24,8 +24,7 @@ RDEPEND="" S="${WORKDIR}/${MY_PN}-${PV}" pkg_setup() { - if use openmp && [[ $(tc-getCXX)$ == *g++* ]] && \ - ! built_with_use sys-devel/gcc openmp; then + if use openmp && ! tc-has-openmp; then ewarn "You are using gcc built without openmp" ewarn "Switch CXX to an OpenMP capable compiler" die "Need openmp" |