git: e68a8b4e86a2 - main - math/openturns: Fix failure in configure phase to detect boost serialization

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 08 Sep 2024 16:40:30 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e68a8b4e86a2bb3e3fba57f8310f04ebd326b093

commit e68a8b4e86a2bb3e3fba57f8310f04ebd326b093
Author:     Thibault Payet <monwarez@mailoo.org>
AuthorDate: 2024-09-08 16:38:19 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-09-08 16:38:19 +0000

    math/openturns: Fix failure in configure phase to detect boost serialization
    
    PR:             280969
---
 math/openturns/files/patch-CMakeLists.txt | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/math/openturns/files/patch-CMakeLists.txt b/math/openturns/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..a7a44bbc8852
--- /dev/null
+++ b/math/openturns/files/patch-CMakeLists.txt
@@ -0,0 +1,12 @@
+- fix failure in configure phase to detect boost serialization
+
+--- CMakeLists.txt.orig	2024-06-05 12:07:40 UTC
++++ CMakeLists.txt
+@@ -375,6 +375,7 @@ if (USE_PAGMO)
+ endif ()
+ 
+ if (USE_PAGMO)
++  find_package(Boost REQUIRED serialization)
+   find_package (Pagmo CONFIG)
+   if (Pagmo_FOUND)
+     message (STATUS "Found Pagmo: ${Pagmo_DIR} (found version \"${Pagmo_VERSION}\")")