From nobody Thu Mar 21 18:02:23 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V0tb35c0jz5FB77; Thu, 21 Mar 2024 18:02:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V0tb33D6Vz465v; Thu, 21 Mar 2024 18:02:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711044143; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AdiaCIhiFWdxi2ciPAUVSuVJ8oN53Kjp8waFBQmHN+8=; b=qV56WMR1Gh7d/a/58FadSKZKlQb+p7jm1fLwWkB2E1FNKeG3/70h9WB3S4Ize9Yw5DcB9c dXa+ZYiRJxKPt68e+yWkPBfrAQhxY5qpmsD2sZaDZdoNF2tqz24p2QBAzlqhuUsgyiDEQI BnCFoiE9yZAXWytLzgRqw81F0YgLhTr2Mb/rvPYhlSVCScMuXIRySk0UxYgBlLef16xAUd mDFKUOGRIhZzldxO5CvZU/0PF05hBnn2sff0XkvGOofW5EIYc/S0Llo9mLwvtAXAWjhY5X AzPjRkbFNzwL31h3PUJlKf7ID+P0Vjwb+SYah7BAOvj3iifSK53p6r3zN6jOLQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711044143; a=rsa-sha256; cv=none; b=j8PBhwfL7fSGn9f5JWDWlzANtaAo+AfcYMcnxBcuMQbK4F5jAeOA5ueDnOQMHVRHKZrQuN hovS8HZzR4YkzhlfiogmHILAD4YZkn6dHo8LvYxTBYjy/exDtKBtV+yr3G8XzehTF2BGrK x8NBlzeXT+QNPXT9P357yV7c/tJIpmYnlhxmmUdQX20+VxXQnbLAn6IAo1yuaCQVkaqFHk aZNNYXHIvvlilqUUzNX8l4BhOLQe6xpFr1BnSrTAJeRCG3PuYZJi+ZdVkiRRSYub/0lNiC vyLYrc2z8G4hYM8HFgCHRik+dm7PTjJ8n0BuSPAu2JzNBJwvHpzzLKRtpy8Elw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711044143; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AdiaCIhiFWdxi2ciPAUVSuVJ8oN53Kjp8waFBQmHN+8=; b=Af4u0QT0jidZQ5kJgAEZS4Bnh8F1tKDRJtm34Ez0IiM5sh88qmG+qN14oCGDLjj5lAComH pDx0oBZw/mxnzswjkk7EO8PlIxmQQpmCzMELAKyXl0ty6y9OrMcT2jcItL2j76wxYeWaQe +CVD5tP56yd746e4/dL9cOm8VykZE9DhuwpHMeJORFTaNWA4S3qMN6ah7h8DFZjeDZ5lo7 OmsMauZoXP3cnGUEygoibVMPxgl4frF/5S/Eu90DsQSI20u1q5BdVxoZOk/vjb49YVeU0+ Ui01JajCPVPl/1ocedTruC99+fK0qp+aWnLNzFn3Ai5za3UlnDkB6dSecMC+1A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4V0tb32qxjzlpg; Thu, 21 Mar 2024 18:02:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42LI2Nle023686; Thu, 21 Mar 2024 18:02:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42LI2Nhr023683; Thu, 21 Mar 2024 18:02:23 GMT (envelope-from git) Date: Thu, 21 Mar 2024 18:02:23 GMT Message-Id: <202403211802.42LI2Nhr023683@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Thierry Thomas Subject: git: 3c47a75b4955 - main - math/deal.ii: support of OpenCascade 7.8.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3c47a75b49551a4fda20cee864474c4d77f65b66 Auto-Submitted: auto-generated The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=3c47a75b49551a4fda20cee864474c4d77f65b66 commit 3c47a75b49551a4fda20cee864474c4d77f65b66 Author: Thierry Thomas AuthorDate: 2024-03-21 17:51:18 +0000 Commit: Thierry Thomas 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})