<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c22f61d267441ebc3e80495423862f5b72eb3439">https://github.com/macports/macports-ports/commit/c22f61d267441ebc3e80495423862f5b72eb3439</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 c22f61d2674 darktable-devel: enable ARM build See: https://trac.macports.org/ticket/64488
</span>c22f61d2674 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c22f61d267441ebc3e80495423862f5b72eb3439
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Sun Jul 17 19:34:41 2022 -0400
<span style='display:block; white-space:pre;color:#404040;'> darktable-devel: enable ARM build
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/64488
</span>---
graphics/darktable-devel/Portfile | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/darktable-devel/Portfile b/graphics/darktable-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ba974231e68..7791e3921c7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/darktable-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/darktable-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,7 +27,7 @@ long_description Darktable is a virtual lighttable and darkroom for \
</span> and enhance them.
homepage https://www.darktable.org/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-supported_archs x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs x86_64 arm64
</span>
github.tarball_from releases
dist_subdir ${my_name}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -137,6 +137,12 @@ platform darwin {
</span> -DBUILD_NOISE_TOOLS=${features_curve_noise}
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# For ARM build, we must disable Intel instruction set use.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${configure.build_arch} eq "arm64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBUILD_SSE2_CODEPATHS=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-build {
set wrap [open "${workpath}/darktable-app" w 0755]
puts ${wrap} "#!/bin/sh"
</pre><pre style='margin:0'>
</pre>