git: 12ecc73c3ada - main - science/paraview: unbreak after the upgrade of OpenTURNS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 08 Nov 2023 19:23:09 UTC
The branch main has been updated by thierry:
URL: https://cgit.FreeBSD.org/ports/commit/?id=12ecc73c3ada18ea18d19af8e0aa8cc5bf7e1344
commit 12ecc73c3ada18ea18d19af8e0aa8cc5bf7e1344
Author: Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2023-11-08 19:21:07 +0000
Commit: Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2023-11-08 19:21:07 +0000
science/paraview: unbreak after the upgrade of OpenTURNS
Drop OPENTURNS_USE_FILE (patch d9bbc2c4 from Julien Schueller).
---
.../files/patch-VTK_Filters_OpenTURNS_CMakeLists.txt | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/science/paraview/files/patch-VTK_Filters_OpenTURNS_CMakeLists.txt b/science/paraview/files/patch-VTK_Filters_OpenTURNS_CMakeLists.txt
new file mode 100644
index 000000000000..7ee48aac38c1
--- /dev/null
+++ b/science/paraview/files/patch-VTK_Filters_OpenTURNS_CMakeLists.txt
@@ -0,0 +1,14 @@
+--- VTK/Filters/OpenTURNS/CMakeLists.txt.orig 2023-09-22 14:35:37 UTC
++++ VTK/Filters/OpenTURNS/CMakeLists.txt
+@@ -1,6 +1,9 @@ find_package(OpenTURNS 1.8 REQUIRED)
+ find_package(OpenTURNS 1.8 REQUIRED)
+-# XXX(fixme)
+-include(${OPENTURNS_USE_FILE})
++
++if (EXISTS "${OPENTURNS_USE_FILE}")
++ # removed in 1.21
++ include (${OPENTURNS_USE_FILE})
++endif ()
+
+ set(classes
+ vtkOTDensityMap