Date: Thu, 21 Mar 2024 18:02:23 GMT From: Thierry Thomas <thierry@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 3c47a75b4955 - main - math/deal.ii: support of OpenCascade 7.8.0 Message-ID: <202403211802.42LI2Nhr023683@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=3c47a75b49551a4fda20cee864474c4d77f65b66 commit 3c47a75b49551a4fda20cee864474c4d77f65b66 Author: Thierry Thomas <thierry@FreeBSD.org> AuthorDate: 2024-03-21 17:51:18 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2024-03-21 18:01:19 +0000 math/deal.ii: support of OpenCascade 7.8.0 PR: 277317 Approved by: yuri (maintainer) --- math/deal.ii/Makefile | 1 + ...h-cmake_modules_FindDEAL__II__OPENCASCADE.cmake | 27 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/math/deal.ii/Makefile b/math/deal.ii/Makefile index c4c5563bb6a6..6b815f8bcb0a 100644 --- a/math/deal.ii/Makefile +++ b/math/deal.ii/Makefile @@ -1,5 +1,6 @@ PORTNAME= deal.II DISTVERSION= 9.5.2 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= https://github.com/dealii/dealii/releases/download/v${DISTVERSION}/ DISTNAME= dealii-${DISTVERSION} diff --git a/math/deal.ii/files/patch-cmake_modules_FindDEAL__II__OPENCASCADE.cmake b/math/deal.ii/files/patch-cmake_modules_FindDEAL__II__OPENCASCADE.cmake new file mode 100644 index 000000000000..e723a7b09742 --- /dev/null +++ b/math/deal.ii/files/patch-cmake_modules_FindDEAL__II__OPENCASCADE.cmake @@ -0,0 +1,27 @@ +--- cmake/modules/FindDEAL_II_OPENCASCADE.cmake.orig 2024-02-01 02:26:09 UTC ++++ cmake/modules/FindDEAL_II_OPENCASCADE.cmake +@@ -67,11 +67,19 @@ endif() + endif() + + # These seem to be pretty much the only required ones. +-set(_opencascade_libraries +- TKBO TKBool TKBRep TKernel TKFeat TKFillet TKG2d TKG3d TKGeomAlgo +- TKGeomBase TKHLR TKIGES TKMath TKMesh TKOffset TKPrim TKShHealing TKSTEP +- TKSTEPAttr TKSTEPBase TKSTEP209 TKSTL TKTopAlgo TKXSBase +- ) ++if(OPENCASCADE_VERSION AND OPENCASCADE_VERSION VERSION_GREATER_EQUAL "7.8.0") ++ set(_opencascade_libraries ++ TKBO TKBool TKBRep TKernel TKFeat TKFillet TKG2d TKG3d TKGeomAlgo ++ TKGeomBase TKHLR TKDEIGES TKMath TKMesh TKOffset TKPrim TKShHealing TKDESTEP ++ TKDESTL TKTopAlgo TKXSBase ++ ) ++ else() ++ set(_opencascade_libraries ++ TKBO TKBool TKBRep TKernel TKFeat TKFillet TKG2d TKG3d TKGeomAlgo ++ TKGeomBase TKHLR TKIGES TKMath TKMesh TKOffset TKPrim TKShHealing TKSTEP ++ TKSTEPAttr TKSTEPBase TKSTEP209 TKSTL TKTopAlgo TKXSBase ++ ) ++endif() + + set(_libraries "") + foreach(_library ${_opencascade_libraries})
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403211802.42LI2Nhr023683>