summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2009-07-25 16:38:38 +0000
committerMarkus Dittrich <markusle@gentoo.org>2009-07-25 16:38:38 +0000
commitf78607891665272afef79df23af02a7dbe637de2 (patch)
tree5f93958027f31a2e3ef3a148233957fe38c6302e /sci-visualization/paraview
parentRemoved old versions. (diff)
downloadgentoo-2-f78607891665272afef79df23af02a7dbe637de2.tar.gz
gentoo-2-f78607891665272afef79df23af02a7dbe637de2.tar.bz2
gentoo-2-f78607891665272afef79df23af02a7dbe637de2.zip
Only apply hdf5 patch conditional on >=hdf-1.8.0 (bug #279060).
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'sci-visualization/paraview')
-rw-r--r--sci-visualization/paraview/ChangeLog5
-rw-r--r--sci-visualization/paraview/paraview-3.6.1.ebuild6
2 files changed, 8 insertions, 3 deletions
diff --git a/sci-visualization/paraview/ChangeLog b/sci-visualization/paraview/ChangeLog
index 3e9278c5a973..90281f99f500 100644
--- a/sci-visualization/paraview/ChangeLog
+++ b/sci-visualization/paraview/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-visualization/paraview
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/ChangeLog,v 1.35 2009/07/25 14:25:26 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/ChangeLog,v 1.36 2009/07/25 16:38:38 markusle Exp $
+
+ 25 Jul 2009; Markus Dittrich <markusle@gentoo.org> paraview-3.6.1.ebuild:
+ Only apply hdf5 patch conditional on >=hdf-1.8.0 (bug #279060).
25 Jul 2009; Markus Dittrich <markusle@gentoo.org> paraview-3.6.1.ebuild:
Remove threads useflag and always force compilation against pthreads.
diff --git a/sci-visualization/paraview/paraview-3.6.1.ebuild b/sci-visualization/paraview/paraview-3.6.1.ebuild
index d299f9ed46d2..5900767ec55d 100644
--- a/sci-visualization/paraview/paraview-3.6.1.ebuild
+++ b/sci-visualization/paraview/paraview-3.6.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/paraview-3.6.1.ebuild,v 1.3 2009/07/25 14:25:26 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/paraview-3.6.1.ebuild,v 1.4 2009/07/25 16:38:38 markusle Exp $
EAPI="2"
@@ -57,7 +57,9 @@ src_prepare() {
epatch "${DISTDIR}"/${P}-openfoam-r120.patch.bz2
epatch "${DISTDIR}"/${P}-openfoam-gpl-r120.patch.bz2
- use hdf5 && epatch "${FILESDIR}"/${P}-hdf-1.8.3.patch
+ if use hdf5 && has_version '>=sci-libs/hdf5-1.8.0'; then
+ epatch "${FILESDIR}"/${P}-hdf-1.8.3.patch
+ fi
# fix GL issues
sed -e "s:DEPTH_STENCIL_EXT:DEPTH_COMPONENT24:" \