Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jan 2015 14:09:43 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r376047 - head/x11-toolkits/vtkfox/files
Message-ID:  <201501021409.t02E9hGt029542@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Fri Jan  2 14:09:42 2015
New Revision: 376047
URL: https://svnweb.freebsd.org/changeset/ports/376047
QAT: https://qat.redports.org/buildarchive/r376047/

Log:
  Add patch (committed upstream) to make the port build with CMake 3.1.0.
  
  Also tested with CMake 3.0.2. The patch itself contains an explanation of
  what is being changed and why.
  
  There is no need to bump PORTREVISION as there are no functional changes.

Added:
  head/x11-toolkits/vtkfox/files/
  head/x11-toolkits/vtkfox/files/patch-CMakeLists.txt   (contents, props changed)

Added: head/x11-toolkits/vtkfox/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/vtkfox/files/patch-CMakeLists.txt	Fri Jan  2 14:09:42 2015	(r376047)
@@ -0,0 +1,22 @@
+commit 1d2853c1ec4a1375d011b295c210e5220c1fda90
+Author: Raphael Kubo da Costa <rakuco@FreeBSD.org>
+Date:   Fri Jan 2 12:05:39 2015 +0200
+
+    Make vtkfox compatible with CMake 3.1.0.
+
+    Use VTK_USE_FILE instead of USE_VTK_FILE. The latter had been deprecated
+    for 12 years and was only present in CMake's FindVTK.cmake, which was
+    removed in 3.1.0 because VTK ships its own Config.cmake file with all
+    the required variables.
+
+--- CMakeLists.txt
++++ CMakeLists.txt
+@@ -8,7 +8,7 @@ SET (VTKFOX_VERSION 1.0.0)
+ # VTK
+ #
+ FIND_PACKAGE(VTK REQUIRED)
+-INCLUDE(${USE_VTK_FILE})
++INCLUDE(${VTK_USE_FILE})
+ 
+ #
+ # FOX version to use



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501021409.t02E9hGt029542>