From nobody Tue Aug 4 20:10:40 2026 X-Original-To: dev-commits-ports-all@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 4hF4RP04bLz6nLjM for ; Tue, 04 Aug 2026 20:10:41 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hF4RN2TBqz3TyB for ; Tue, 04 Aug 2026 20:10:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785874240; 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=NvuPYKwSlr51ASd85i7FeKi0vyK0btsn5b2OhWBbgfE=; b=MrRR3NK0xeGwzfhlTwRR3MtgIUJ59n9MhTfLs95sTU0hh3DSHgN+zv4u/lPNUZjsYV1Q52 aMWUu7Y0ERs0pIQ9R3ftlrW82XWNx77GIG4vM4rHsCPpTllR3+3LJkC/cybLTG31lWcI+0 M/i2RMtyuJzB0KrQhzVaUGHtWJ7KJiLYR6qHuVyZNBIlLdb/Lon/DH87ePgRxqr2rLlkot 9JQHCFyKDGg1773EV2VcjOz/p68/GDoPlyVRMch/1LgkJ7YHx2ylVwHCyPpKVqyTKxoxsY 47Lp8SIjqYWg9hu7/KPeQ1FQ3m05kK9fvxb7aCw4LbHAvjmoi1PqNwBXGL5HKw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1785874240; a=rsa-sha256; cv=none; b=CfKu2kqvOoC21eTdfBuFQiwxVIhpGnAuC7KR16jkw8PRu3qUYLIEgj+NqFz1TEC9d3oE0X 8GFilDk1Rb17KglEEdtQXE71XYjlxXHSHKGb8b5AZrVIAKnHK7/7+IXszo5Jfrb+Eh2577 rRYGnDwFCzpTKvoMuNZoieuAT1d6xV7DXbg8CN95bK+Wy/Ds3Q1nPcH18ZGMYhmYe/y9gW S3+L26MMVKuRhEThhToz6LwKpnPK60HmuQYyHZ5iWFPuusQmn363TgRoly0h4SNi8Qf9aQ SPpmHpt794Xtx9sxfE5Wy0CNI9KWCHZ13/ww8hyZW1Np03dhMIQTNX2fj+IzQg== 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=1785874240; 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=NvuPYKwSlr51ASd85i7FeKi0vyK0btsn5b2OhWBbgfE=; b=uv7WnCbsVwqjnOlstd7bbMuYYPUZNtz0PItaWuWiHoiIkdOnIkFMLB4tXpPIK3YeoFHUJN mkDFhqOhvGBWO1MJ/tN2tF4fJuolcz8TZWpCDi+vYA8m8jJzvXptY8WZ86TriVSkb4J+rO cnVodfGrje4m3dxwsfzkTcuOHxv96ew9DjN5YzhJNywYtYirAqHEhvOZzOEFGaEk2Vh367 wSJodLPKKUlptGdKzDKLKYSGN9T7MEKWU87BMDa8sWMVG9/Pm92mcs51bfFmki1xEiAVo1 3oF0quQk5i4gIjWB+wngSDuGBF8J4SjTuBnwwp/W5zdAqoSN/A9J/XMk1S9JmQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hF4RN1XbHz12RP for ; Tue, 04 Aug 2026 20:10:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3d5d5 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 04 Aug 2026 20:10:40 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 6eb9e0466668 - main - science/precice: update 3=?utf-8?Q?=2E1.2 =E2=86=92?= 3.4.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6eb9e0466668e973b1d0e7491b01d6e20af45094 Auto-Submitted: auto-generated Date: Tue, 04 Aug 2026 20:10:40 +0000 Message-Id: <6a724740.3d5d5.208297df@gitrepo.freebsd.org> The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=6eb9e0466668e973b1d0e7491b01d6e20af45094 commit 6eb9e0466668e973b1d0e7491b01d6e20af45094 Author: Yuri Victorovich AuthorDate: 2026-08-04 07:21:18 +0000 Commit: Yuri Victorovich CommitDate: 2026-08-04 20:10:24 +0000 science/precice: update 3.1.2 → 3.4.1 --- science/precice/Makefile | 19 ++++--------------- science/precice/distinfo | 6 +++--- science/precice/files/patch-CMakeLists.txt | 4 ++-- science/precice/files/patch-src_utils_networking.cpp | 15 +++++++++++++++ science/precice/pkg-plist | 9 ++++++++- 5 files changed, 32 insertions(+), 21 deletions(-) diff --git a/science/precice/Makefile b/science/precice/Makefile index 2ed9f2b113aa..c87a4bef5666 100644 --- a/science/precice/Makefile +++ b/science/precice/Makefile @@ -1,7 +1,6 @@ PORTNAME= precice DISTVERSIONPREFIX= v -DISTVERSION= 3.1.2 -PORTREVISION= 5 +DISTVERSION= 3.4.1 CATEGORIES= science # physics MAINTAINER= yuri@FreeBSD.org @@ -11,14 +10,12 @@ WWW= https://precice.org/ LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN= fails to build with Boost>=1.87 - BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ - libmpicxx.so:net/mpich + libgcc_s.so:lang/gcc${GCC_DEFAULT} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} -USES= cmake:noninja,testing compiler:c++14-lang eigen:3 gnome pkgconfig python shebangfix # fails with ninja: phony target 'binprecice' names itself as an input; ignoring +USES= cmake:noninja,testing compiler:c++14-lang eigen:3 gnome mpi:openmpi pkgconfig python shebangfix # fails with ninja: phony target 'binprecice' names itself as an input; ignoring USE_GNOME= libxml2 USE_LDCONFIG= yes @@ -28,22 +25,14 @@ SHEBANG_FILES= tools/profiling/precice-profiling CMAKE_OFF= BUILD_TESTING PRECICE_ENABLE_FORTRAN PRECICE_PythonActions -OPTIONS_DEFINE= MPI PETSC EXAMPLES - -MPI_CMAKE_BOOL= PRECICE_MPICommunication -MPI_BUILD_DEPENDS= openmpi>0:net/openmpi -MPI_RUN_DEPENDS= openmpi>0:net/openmpi -MPI_BROKEN= all tests crash with MPI, see https://github.com/precice/precice/issues/1331 +OPTIONS_DEFINE= PETSC EXAMPLES PETSC_DESC= Use PETSc linear algebra library PETSC_CMAKE_BOOL= PRECICE_FEATURE_PETSC_MAPPING PETSC_LIB_DEPENDS= libpetsc.so:science/PETSc -PETSC_IMPLIES= MPI PORTEXAMPLES= * -# 3 tests time out, see https://github.com/precice/precice/issues/1331 - post-install: # remove files which aren't docs @${RM} -r ${STAGEDIR}${PREFIX}/share/doc diff --git a/science/precice/distinfo b/science/precice/distinfo index 88a17e938841..e94edb89dced 100644 --- a/science/precice/distinfo +++ b/science/precice/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1731126071 -SHA256 (precice-precice-v3.1.2_GH0.tar.gz) = e06d5e183f584c51812dcddf958210d1195bea38fa2df13be72303dcb06c869b -SIZE (precice-precice-v3.1.2_GH0.tar.gz) = 1666984 +TIMESTAMP = 1785804051 +SHA256 (precice-precice-v3.4.1_GH0.tar.gz) = ef4713c938a1b2000d0b071175e1b45f9ec55c7aec4bbe7b65c3992edcc74ac7 +SIZE (precice-precice-v3.4.1_GH0.tar.gz) = 1797379 diff --git a/science/precice/files/patch-CMakeLists.txt b/science/precice/files/patch-CMakeLists.txt index 77b6ab92d538..ab27d3fda835 100644 --- a/science/precice/files/patch-CMakeLists.txt +++ b/science/precice/files/patch-CMakeLists.txt @@ -1,6 +1,6 @@ ---- CMakeLists.txt.orig 2022-06-20 10:08:50 UTC +--- CMakeLists.txt.orig 2026-04-21 07:09:32 UTC +++ CMakeLists.txt -@@ -461,7 +461,7 @@ endif() +@@ -789,7 +789,7 @@ install(DIRECTORY examples # Install examples install(DIRECTORY examples diff --git a/science/precice/files/patch-src_utils_networking.cpp b/science/precice/files/patch-src_utils_networking.cpp new file mode 100644 index 000000000000..2331ec15b9ff --- /dev/null +++ b/science/precice/files/patch-src_utils_networking.cpp @@ -0,0 +1,15 @@ +-- Fix loopback interface detection on FreeBSD and other BSDs. +-- The upstream code only checks for __APPLE__ or the BSD macro, which is not +-- defined by default on FreeBSD. preCICE uses "lo0" on BSD systems. +-- Upstream issue: https://github.com/precice/precice/issues/2278 +--- src/utils/networking.cpp.orig 2026-08-04 00:41:46 UTC ++++ src/utils/networking.cpp +@@ -6,7 +6,7 @@ std::string loopbackInterfaceName() + { + #if defined(__linux__) + return "lo"; +-#elif defined(__APPLE__) || defined(BSD) ++#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) + return "lo0"; + #elif defined(_WIN32) + // Not required as we directly use the 127.0.0.1 under Windows diff --git a/science/precice/pkg-plist b/science/precice/pkg-plist index 3f329ce21251..57540ccf9c06 100644 --- a/science/precice/pkg-plist +++ b/science/precice/pkg-plist @@ -1,5 +1,9 @@ +bin/precice-config-doc +bin/precice-config-validate bin/precice-profiling bin/precice-tools +bin/precice-version +include/precice/Exceptions.hpp include/precice/Participant.hpp include/precice/Tooling.hpp include/precice/Types.hpp @@ -15,7 +19,10 @@ lib/cmake/precice/preciceTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/precice/preciceTargets.cmake lib/libprecice.so lib/libprecice.so.3 -lib/libprecice.so.3.1.2 +lib/libprecice.so.3.4.1 libdata/pkgconfig/libprecice.pc share/lintian/overrides/libprecice3 +share/man/man1/precice-config-doc.1.gz +share/man/man1/precice-config-validate.1.gz share/man/man1/precice-tools.1.gz +share/man/man1/precice-version.1.gz