summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-01-20 23:53:28 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-01-20 23:53:28 +0000
commit45effd5f84ef983f431af18b2af5214455554905 (patch)
tree7a64e63e7346a1a3ad96ea31b3dbfa988bb16b62 /sci-mathematics
parentVersion bump. (diff)
downloadgentoo-2-45effd5f84ef983f431af18b2af5214455554905.tar.gz
gentoo-2-45effd5f84ef983f431af18b2af5214455554905.tar.bz2
gentoo-2-45effd5f84ef983f431af18b2af5214455554905.zip
Move pkg_pretend -> pkg_setup for openmp check, bug #399557
(Portage version: 2.1.10.41/cvs/Linux x86_64)
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/octave/ChangeLog5
-rw-r--r--sci-mathematics/octave/octave-3.6.0.ebuild4
2 files changed, 6 insertions, 3 deletions
diff --git a/sci-mathematics/octave/ChangeLog b/sci-mathematics/octave/ChangeLog
index 21f15a04b2c9..c7060086fbb5 100644
--- a/sci-mathematics/octave/ChangeLog
+++ b/sci-mathematics/octave/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-mathematics/octave
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v 1.112 2012/01/19 17:00:47 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v 1.113 2012/01/20 23:53:28 bicatali Exp $
+
+ 20 Jan 2012; Sébastien Fabbro <bicatali@gentoo.org> octave-3.6.0.ebuild:
+ Move pkg_pretend -> pkg_setup for openmp check, bug #399557
19 Jan 2012; Kacper Kowalik <xarthisius@gentoo.org> Manifest:
Fix manifest
diff --git a/sci-mathematics/octave/octave-3.6.0.ebuild b/sci-mathematics/octave/octave-3.6.0.ebuild
index 767cbdf28dba..a485a0945d53 100644
--- a/sci-mathematics/octave/octave-3.6.0.ebuild
+++ b/sci-mathematics/octave/octave-3.6.0.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-mathematics/octave/octave-3.6.0.ebuild,v 1.1 2012/01/19 15:06:57 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-3.6.0.ebuild,v 1.2 2012/01/20 23:53:28 bicatali Exp $
EAPI=4
@@ -54,7 +54,7 @@ DEPEND="${RDEPEND}
PATCHES=( "${FILESDIR}"/${PN}-3.4.3-{pkgbuilddir,help}.patch )
-pkg_pretend() {
+pkg_setup() {
use openmp && [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp && \
die "You have openmp enabled but your current gcc does not support it"
}