summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/minuit/ChangeLog5
-rw-r--r--sci-libs/minuit/minuit-5.27.02.ebuild5
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"