summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-04-09 18:41:27 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-04-09 18:41:27 +0000
commit507754dbc67b45733e86b3a747d6b7e20f5e3e22 (patch)
treedbb034f12355a1c6613a86aaf257dccd2de6b9d2 /sci-libs/fftw/fftw-2.1.5-r6.ebuild
parentPunt vulnerable version, CVE-2010-1149 (diff)
downloadgentoo-2-507754dbc67b45733e86b3a747d6b7e20f5e3e22.tar.gz
gentoo-2-507754dbc67b45733e86b3a747d6b7e20f5e3e22.tar.bz2
gentoo-2-507754dbc67b45733e86b3a747d6b7e20f5e3e22.zip
Replaced built_with_use with has_version
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/fftw/fftw-2.1.5-r6.ebuild')
-rw-r--r--sci-libs/fftw/fftw-2.1.5-r6.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sci-libs/fftw/fftw-2.1.5-r6.ebuild b/sci-libs/fftw/fftw-2.1.5-r6.ebuild
index 8fe7c649d2b3..86fda7794f4d 100644
--- a/sci-libs/fftw/fftw-2.1.5-r6.ebuild
+++ b/sci-libs/fftw/fftw-2.1.5-r6.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/fftw/fftw-2.1.5-r6.ebuild,v 1.1 2010/04/01 19:09:20 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/fftw/fftw-2.1.5-r6.ebuild,v 1.2 2010/04/09 18:41:27 bicatali Exp $
EAPI="3"
@@ -31,8 +31,8 @@ pkg_setup() {
if use openmp &&
[[ $(tc-getCC)$ == *gcc* ]] &&
( [[ $(gcc-major-version)$(gcc-minor-version) -lt 42 ]] ||
- ! built_with_use sys-devel/gcc openmp )
-then
+ ! has_version sys-devel/gcc[openmp] )
+ then
ewarn "You are using gcc and OpenMP is only available with gcc >= 4.2 "
ewarn "If you want to build fftw with OpenMP, abort now,"
ewarn "and switch CC to an OpenMP capable compiler"