summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-02-12 04:22:21 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-02-12 04:22:21 +0000
commitc92eeb5a07bbb900479b13b679117e51550586b8 (patch)
tree501298c358d8217b1b982067249e53cf55869420 /sci-libs/netcdf
parentRemoved mpi use flag in favor of checking if hdf5 was built with mpi, see bug... (diff)
downloadhistorical-c92eeb5a07bbb900479b13b679117e51550586b8.tar.gz
historical-c92eeb5a07bbb900479b13b679117e51550586b8.tar.bz2
historical-c92eeb5a07bbb900479b13b679117e51550586b8.zip
Removed mpi use flag in favor of checking if hdf5 was built with mpi, see bug #302621
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64
Diffstat (limited to 'sci-libs/netcdf')
-rw-r--r--sci-libs/netcdf/netcdf-4.0.1-r1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sci-libs/netcdf/netcdf-4.0.1-r1.ebuild b/sci-libs/netcdf/netcdf-4.0.1-r1.ebuild
index d3b3744b1e97..10538d3ac27a 100644
--- a/sci-libs/netcdf/netcdf-4.0.1-r1.ebuild
+++ b/sci-libs/netcdf/netcdf-4.0.1-r1.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/netcdf/netcdf-4.0.1-r1.ebuild,v 1.2 2010/02/12 04:05:09 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/netcdf-4.0.1-r1.ebuild,v 1.3 2010/02/12 04:22:21 bicatali Exp $
EAPI=2
@@ -23,7 +23,7 @@ DEPEND="${RDEPEND}
mpi? ( virtual/mpi[cxx?,fortran?] )"
pkg_setup() {
- if has_version sci-libs/hdf5[mpi]; then
+ if use hdf5 && has_version sci-libs/hdf5[mpi]; then
export CC=mpicc
if use cxx; then
export CXX=mpicxx