<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/42d52e2edb832d40e5fc75b8a468c8b451f2d5d1">https://github.com/macports/macports-ports/commit/42d52e2edb832d40e5fc75b8a468c8b451f2d5d1</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 42d52e2edb8 elmerfem: update to 2024.04.03, use Qt5 on newer systems
</span>42d52e2edb8 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 42d52e2edb832d40e5fc75b8a468c8b451f2d5d1
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Wed Apr 3 21:47:00 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> elmerfem: update to 2024.04.03, use Qt5 on newer systems
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/69308
</span>---
science/elmerfem/Portfile | 40 ++++++++++++++++++++++++++++------------
1 file changed, 28 insertions(+), 12 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/elmerfem/Portfile b/science/elmerfem/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 89f26a460c0..8e9645f0949 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/elmerfem/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/elmerfem/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,15 +7,14 @@ PortGroup compilers 1.0
</span> PortGroup github 1.0
PortGroup legacysupport 1.1
PortGroup linear_algebra 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup qt4 1.0
</span>
# _strnlen, getline
legacysupport.newest_darwin_requires_legacy 10
# Remember to keep qt4 as a fallback until qt5 is available on old systems.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup ElmerCSC elmerfem c444a42e9cc0a2173e8e019271f8f4be87619e44
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2023.12.13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup ElmerCSC elmerfem d43454ba4d468084421073dbcc24fc4ff63092c3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2024.04.03
</span> revision 0
categories science
license GPL-2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,13 +24,11 @@ long_description {*}${description} making it an ideal tool for multiphysical
</span> It includes models for structural mechanics, fluid dynamics, heat transfer, \
electromagnetics and beyond. Elmer can also be used on massively parallel HPC platforms.
homepage https://www.elmerfem.org
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 f459f3edf56c135f2ed81a1f0559cf621a7d5679 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 791df3a2e8ca132a9e86ebe0fd466457f0060655842365e785f59ba3f11329de \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 72087455
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 39e4fb5b23a26a5dfa0d8ef33a93fc0632944e57 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 53f11eae67b8c705a4323df3a249a4f8a6267f927debcff3bb6a2fc8e74d2486 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 72854303
</span> github.tarball_from archive
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib-append port:qwt61
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> compilers.choose fc f90
compilers.setup require_fortran
compiler.blacklist-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -71,13 +68,33 @@ pre-configure {
</span>
set qt4_dir ${prefix}/libexec/qt4
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 13} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qt4 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DQt4_LIBRARIES=${qt4_dir}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DQWT_INCLUDE_DIR=${qt4_dir}/include/qwt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DQWT_LIBRARY=${qt4_dir}/lib/libqwt.dylib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_QT5=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:qwt61
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qt5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt5.depends_component qtscript qtsvg qttools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DQWT_INCLUDE_DIR=${qt_dir}/lib/qwt.framework/Versions/6/Headers \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DQWT_LIBRARY=${qt_dir}/lib/qwt.framework/qwt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_QT5=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:qwt-qt5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # TODO: add variant to support MPICH, Hypre and Mumps.
configure.args-append \
-DCMAKE_Fortran_COMPILER=${configure.fc} \
-DGLX_INCLUDE_DIR=${prefix}/include \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DQt4_LIBRARIES=${qt4_dir}/lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DQWT_INCLUDE_DIR=${qt4_dir}/include/qwt \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DQWT_LIBRARY=${qt4_dir}/lib/libqwt.dylib \
</span> -DUSE_CONTIGUOUS=OFF \
-DWITH_CONTRIB=OFF \
-DWITH_ELMERGUI=ON \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -95,7 +112,6 @@ configure.args-append \
</span> -DWITH_NETCDF=OFF \
-DWITH_OCC=OFF \
-DWITH_OpenMP=OFF \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DWITH_QT5=OFF \
</span> -DWITH_QWT=ON \
-DWITH_Trilinos=OFF \
-DWITH_XIOS=OFF \
</pre><pre style='margin:0'>
</pre>