diff options
Diffstat (limited to 'dev-java/hdf-java/hdf-java-2.6.ebuild')
-rw-r--r-- | dev-java/hdf-java/hdf-java-2.6.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-java/hdf-java/hdf-java-2.6.ebuild b/dev-java/hdf-java/hdf-java-2.6.ebuild index 9902f6a96..cefb046d2 100644 --- a/dev-java/hdf-java/hdf-java-2.6.ebuild +++ b/dev-java/hdf-java/hdf-java-2.6.ebuild @@ -13,9 +13,9 @@ SRC_URI="http://www.hdfgroup.org/ftp/HDF5/hdf-java/src/${P}-src.tar" LICENSE="NCSA-HDF" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="hdf mpi" +IUSE="hdf" -CDEPEND=">=sci-libs/hdf5-1.8[szip,mpi=] +CDEPEND=">=sci-libs/hdf5-1.8[szip] hdf? ( sci-libs/hdf ) >=media-libs/jpeg-7 sys-libs/zlib" @@ -33,7 +33,7 @@ src_prepare() { native/hdf5lib/h5Constants.c || die epatch "${FILESDIR}"/${P}-shared.patch eautoreconf - use mpi && export CC=mpicc + has_version sci-libs/hdf5[mpi] && export CC=mpicc } src_configure() { |