<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/0170190b710d068b80a6999bab49a71c593cee05">https://github.com/macports/macports-ports/commit/0170190b710d068b80a6999bab49a71c593cee05</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 0170190b710d068b80a6999bab49a71c593cee05
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Sat Oct 21 21:22:27 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> wireshark3: fix python selection, add build dep
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: trac.macports.org/ticket/68362
</span>---
net/wireshark3/Portfile | 4 ++++
1 file changed, 4 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/wireshark3/Portfile b/net/wireshark3/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ba73846855b..02c61137f2e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/wireshark3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/wireshark3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -102,6 +102,8 @@ variant qt5 conflicts no_gui description {Build wireshark with a qt5 GUI} {
</span> configure.args-replace -DENABLE_APPLICATION_BUNDLE=OFF -DENABLE_APPLICATION_BUNDLE=ON
configure.args-replace -DBUILD_wireshark=OFF -DBUILD_wireshark=ON
configure.args-append -DENABLE_QT5=ON
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt5.depends_build_component \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qttools
</span> qt5.depends_component qtbase \
qtmacextras \
qtmultimedia \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -181,6 +183,8 @@ foreach py_ver_nodot ${pythons_suffixes} {
</span> set py_conflicts [lreplace ${pythons_ports} ${i} ${i}]
variant ${py_port} description "Use python ${py_ver} during build" conflicts {*}${py_conflicts} "
depends_build-append port:${py_port}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DPython3_ROOT_DIR=\"${frameworks_dir}/Python.framework/Versions/${py_ver}/bin\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DPython3_FIND_STRATEGY=LOCATION
</span> "
}
</pre><pre style='margin:0'>
</pre>