<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/bb1078798903a2c3922cc5f5d3fa459d088d722d">https://github.com/macports/macports-ports/commit/bb1078798903a2c3922cc5f5d3fa459d088d722d</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 bb107879890 FreeRDP: Fix case of worksrcdir; other cleanup
</span>bb107879890 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit bb1078798903a2c3922cc5f5d3fa459d088d722d
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Sun Apr 28 04:25:06 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> FreeRDP: Fix case of worksrcdir; other cleanup
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Use path dependency for pkgconfig.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Check os.platform before checking os.major.
</span>---
net/FreeRDP/Portfile | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/FreeRDP/Portfile b/net/FreeRDP/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 775e5223b5a..1c136a68d75 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/FreeRDP/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/FreeRDP/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,7 +22,7 @@ checksums rmd160 305e517c1d54579b56b4b0969e8965bc7d70630a \
</span> size 9338947
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>
depends_lib-append port:libsdl2_ttf \
port:xorg-libX11 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,11 +40,12 @@ depends_lib-append port:libsdl2_ttf \
</span> path:lib/pkgconfig/libusb-1.0.pc:libusb \
path:lib/pkgconfig/cairo.pc:cairo
<span style='display:block; white-space:pre;background:#e0ffe0;'>+worksrcdir freerdp-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> patchfiles-append patch-cmake-docbook.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# disable rdpsnd on macOS < 10.10 since
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# AVAudioBuffer was introduced in 10.10
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if { ${os.major} <= 13 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# AVAudioBuffer was introduced in OS X 10.10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 14} {
</span> configure.args-append \
-DCHANNEL_RDPSND=OFF
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -76,7 +77,7 @@ configure.args-append \
</span> -DWITH_PKCS11=OFF
# ffmpeg only supports VDA (video hardware acceleration, mostly H264) on 10.6.3+ (#48397)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.major} > 10 || (${os.major} == 10 && ${os.minor} >= 3)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} ne "darwin" || ${os.major} > 10 || (${os.major} == 10 && ${os.minor} >= 3)} {
</span> set ffmpeg_ver 6
configure.args-replace -DWITH_FFMPEG=OFF -DWITH_FFMPEG=ON
depends_lib-append port:ffmpeg${ffmpeg_ver}
</pre><pre style='margin:0'>
</pre>