<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/298b1e08f547583581a17be70b26e7613dd412c9">https://github.com/macports/macports-ports/commit/298b1e08f547583581a17be70b26e7613dd412c9</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 298b1e08f547583581a17be70b26e7613dd412c9
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Wed Oct 23 12:45:32 2024 -0400
<span style='display:block; white-space:pre;color:#404040;'> sketchybar: set supported_arch and build for correct architecture
</span>---
sysutils/sketchybar/Portfile | 10 ++++++++++
1 file changed, 10 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/sketchybar/Portfile b/sysutils/sketchybar/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c1f3fa8e317..693288995d7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/sketchybar/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/sketchybar/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,6 +15,7 @@ maintainers {@bashu gmail.com:bashu.was.here} openmaintainer
</span> license GPL-3
name sketchybar
revision 0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs x86_64 arm64
</span> description Custom macOS statusbar with shell plugin, interaction and graph support
long_description This bar project aims to create a highly flexible, \
customizable, fast and powerful status bar replacement \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,6 +34,15 @@ post-patch {
</span> reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/org.macports.${name}.plist
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${configure.build_arch} == "x86_64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target "x86"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {${configure.build_arch} == "arm64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target "arm64"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {${universal_possible}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target "universal"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> destroot {
# Copy binary
xinstall -m 755 ${worksrcpath}/bin/sketchybar ${destroot}${prefix}/bin/sketchybar
</pre><pre style='margin:0'>
</pre>