<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6d0b1741a7a70153648ea127f94c051d8e52f290">https://github.com/macports/macports-ports/commit/6d0b1741a7a70153648ea127f94c051d8e52f290</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 6d0b1741a7a openEMS: Fix wrong library path linker warnings
</span>6d0b1741a7a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 6d0b1741a7a70153648ea127f94c051d8e52f290
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Tue Jul 30 12:26:16 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> openEMS: Fix wrong library path linker warnings
</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/70467
</span>---
science/openEMS/Portfile | 4 +++-
science/openEMS/files/dont-link_directories.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/openEMS/Portfile b/science/openEMS/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8355cde997b..6c8e68d25cc 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/openEMS/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/openEMS/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,7 +25,7 @@ patchfiles-append \
</span> clocale_fix.patch
depends_build-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:bin/pkg-config:pkgconfig \
</span> port:flex \
port:bison
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,6 +40,8 @@ depends_lib-append \
</span> depends_run-append \
port:octave
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dont-link_directories.patch
</span>
# maybe in the future we can support mpi
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/openEMS/files/dont-link_directories.patch b/science/openEMS/files/dont-link_directories.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..7b69750a1c1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/openEMS/files/dont-link_directories.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/thliebig/openEMS/pull/145
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- CMakeLists.txt.orig 2023-01-07 13:52:36.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ CMakeLists.txt 2024-07-30 12:01:33.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -115,7 +115,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # hdf5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ find_package(HDF5 1.8 COMPONENTS C HL REQUIRED)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ INCLUDE_DIRECTORIES (${HDF5_INCLUDE_DIRS})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-link_directories(${HDF5_LIBRARIES})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # hdf5 compat
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ADD_DEFINITIONS( -DH5_USE_16_API )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ADD_DEFINITIONS( -DH5_BUILT_AS_DYNAMIC_LIB )
</span></pre><pre style='margin:0'>
</pre>