git: d77df0466670 - main - math/deal.ii: Update 9.3.1 -> 9.3.2

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 18 Nov 2021 22:34:22 UTC
The branch main has been updated by yuri:

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

commit d77df04666706156d4dff6034671f06d03beab05
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-11-18 22:33:21 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-11-18 22:34:16 +0000

    math/deal.ii: Update 9.3.1 -> 9.3.2
    
    Also add the 'test' target.
    
    Reported by:    portscout
---
 math/deal.ii/Makefile                   |  6 +++---
 math/deal.ii/distinfo                   |  6 +++---
 math/deal.ii/files/patch-CMakeLists.txt | 11 +++++++++++
 math/deal.ii/pkg-plist                  |  3 ++-
 4 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/math/deal.ii/Makefile b/math/deal.ii/Makefile
index deec17783b2d..acb952b00f85 100644
--- a/math/deal.ii/Makefile
+++ b/math/deal.ii/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	deal.II
 DISTVERSIONPREFIX=	v
-DISTVERSION=	9.3.1
-PORTREVISION=	2
+DISTVERSION=	9.3.2
 CATEGORIES=	math
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -17,7 +16,7 @@ LIB_DEPENDS=	libboost_serialization.so:devel/boost-libs \
 		libhdf5.so:science/hdf5 \
 		libmetis.so:math/metis
 
-USES=		blaslapack cmake compiler:c++17-lang localbase:ldflags
+USES=		blaslapack cmake:testing compiler:c++17-lang localbase:ldflags
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes
@@ -29,6 +28,7 @@ CMAKE_OFF=	DEAL_II_ALLOW_BUNDLED DEAL_II_COMPONENT_EXAMPLES \
 		DEAL_II_WITH_NANOFLANN DEAL_II_WITH_MUPARSER DEAL_II_WITH_ASSIMP \
 		DEAL_II_WITH_HDF5
 CMAKE_ON=	DEAL_II_FORCE_BUNDLED_TBB # instead of LIB_DEPENDS+=libtbb.so:devel/onetbb, pending https://github.com/dealii/dealii/issues/11561
+CMAKE_TESTING_ON=	FREEBSD_ENABLE_TESTS
 
 OPTIONS_DEFINE=		ADOLC ARPACK GSL LAPACK MPI NETCDF OPENCASCADE PETSC SCALAPACK SUNDIALS
 OPTIONS_DEFAULT=	GSL LAPACK # SUNDIALS
diff --git a/math/deal.ii/distinfo b/math/deal.ii/distinfo
index 489ac3e1c01c..d182f5d58243 100644
--- a/math/deal.ii/distinfo
+++ b/math/deal.ii/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1625503118
-SHA256 (dealii-dealii-v9.3.1_GH0.tar.gz) = a62f4676ab2dc029892251d141427fb75cbb83cddd606019f615d0dde9c61ab8
-SIZE (dealii-dealii-v9.3.1_GH0.tar.gz) = 24459280
+TIMESTAMP = 1637269993
+SHA256 (dealii-dealii-v9.3.2_GH0.tar.gz) = ee7a6f98c1d8515fbd68b5fa7df46cb033efcabc87848a8a322d48f4d1e46676
+SIZE (dealii-dealii-v9.3.2_GH0.tar.gz) = 24461873
diff --git a/math/deal.ii/files/patch-CMakeLists.txt b/math/deal.ii/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..7d144b68c0bb
--- /dev/null
+++ b/math/deal.ii/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2021-11-18 21:53:45 UTC
++++ CMakeLists.txt
+@@ -77,7 +77,7 @@ IF(EXISTS ${CMAKE_SOURCE_DIR}/doc/CMakeLists.txt)
+ ENDIF()
+ 
+ IF(EXISTS ${CMAKE_SOURCE_DIR}/tests/CMakeLists.txt)
+-  SET(DEAL_II_HAVE_TESTS_DIRECTORY TRUE)
++  SET(DEAL_II_HAVE_TESTS_DIRECTORY ${FREEBSD_ENABLE_TESTS})
+ ENDIF()
+ 
+ #
diff --git a/math/deal.ii/pkg-plist b/math/deal.ii/pkg-plist
index fd1ce5f00434..7e039b4c3854 100644
--- a/math/deal.ii/pkg-plist
+++ b/math/deal.ii/pkg-plist
@@ -683,6 +683,7 @@ include/deal.II/physics/elasticity/standard_tensors.h
 include/deal.II/physics/notation.h
 include/deal.II/physics/transformations.h
 include/deal.II/sundials/arkode.h
+include/deal.II/sundials/copy.h
 include/deal.II/sundials/ida.h
 include/deal.II/sundials/kinsol.h
 include/deal.II/sundials/n_vector.h
@@ -696,7 +697,7 @@ lib/cmake/deal.II/deal.IIFeatureConfig.cmake
 lib/cmake/deal.II/deal.IITargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/deal.II/deal.IITargets.cmake
 lib/libdeal_II.so
-lib/libdeal_II.so.9.3.1
+lib/libdeal_II.so.9.3.2
 libdata/pkgconfig/deal.II_%%CMAKE_BUILD_TYPE%%.pc
 %%DATADIR%%/macros/macro_deal_ii_add_test.cmake
 %%DATADIR%%/macros/macro_deal_ii_initialize_cached_variables.cmake