diff options
author | Matthias Maier <tamiko@gentoo.org> | 2016-07-11 05:02:11 -0500 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2016-07-11 05:36:42 -0500 |
commit | 54d87e88e7adda88600515f73c46f4a5e15862a9 (patch) | |
tree | 50840d85343e6d14a1ef8b05571bb98f9647b223 /sci-visualization/paraview | |
parent | dev-ml/biniou: bump to 1.0.12; update homepage & src_uri (diff) | |
download | gentoo-54d87e88e7adda88600515f73c46f4a5e15862a9.tar.gz gentoo-54d87e88e7adda88600515f73c46f4a5e15862a9.tar.bz2 gentoo-54d87e88e7adda88600515f73c46f4a5e15862a9.zip |
sci-visualization/paraview: add DEPEND on >=cmake-3.3, bug #588516
* Require >=dev-util/cmake-3.3
* Apply upstream patch to lower the version requirement for cmake to 3.3
Thanks to Markus Kaindl.
Package-Manager: portage-2.2.28
Diffstat (limited to 'sci-visualization/paraview')
-rw-r--r-- | sci-visualization/paraview/files/paraview-5.1.0-only-require-cmake-3.3.patch | 13 | ||||
-rw-r--r-- | sci-visualization/paraview/paraview-5.1.0.ebuild | 4 |
2 files changed, 16 insertions, 1 deletions
diff --git a/sci-visualization/paraview/files/paraview-5.1.0-only-require-cmake-3.3.patch b/sci-visualization/paraview/files/paraview-5.1.0-only-require-cmake-3.3.patch new file mode 100644 index 000000000000..103c28a035b0 --- /dev/null +++ b/sci-visualization/paraview/files/paraview-5.1.0-only-require-cmake-3.3.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index d476bb2..bc814f9 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -28,7 +28,7 @@ + # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + # + #========================================================================== +-cmake_minimum_required(VERSION 3.5) ++cmake_minimum_required(VERSION 3.3) + + project(ParaView) + diff --git a/sci-visualization/paraview/paraview-5.1.0.ebuild b/sci-visualization/paraview/paraview-5.1.0.ebuild index 695baea682bb..055d1c37942b 100644 --- a/sci-visualization/paraview/paraview-5.1.0.ebuild +++ b/sci-visualization/paraview/paraview-5.1.0.ebuild @@ -77,6 +77,7 @@ RDEPEND=" tk? ( dev-lang/tk:0= )" DEPEND="${RDEPEND} ${PYTHON_DEPS} + >=dev-util/cmake-3.3.1 boost? ( >=dev-libs/boost-1.40.0[mpi?,${PYTHON_USEDEP}] ) doc? ( app-doc/doxygen )" @@ -91,7 +92,8 @@ src_prepare() { # see patch headers for description epatch "${FILESDIR}"/${PN}-4.0.1-xdmf-cstring.patch \ "${FILESDIR}"/${PN}-4.3.1-fix-development-install.patch \ - "${FILESDIR}"/${PN}-4.4.0-removesqlite.patch + "${FILESDIR}"/${PN}-4.4.0-removesqlite.patch \ + "${FILESDIR}"/${P}-only-require-cmake-3.3.patch # lib64 fixes sed -i \ |