<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6b43645f545a31e6c658d9f1f0c761bc3bb54871">https://github.com/macports/macports-ports/commit/6b43645f545a31e6c658d9f1f0c761bc3bb54871</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 6b43645f545 arrangodb: fix broken Portfile
</span>6b43645f545 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 6b43645f545a31e6c658d9f1f0c761bc3bb54871
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Mon Feb 14 20:40:13 2022 -0500

<span style='display:block; white-space:pre;color:#404040;'>    arrangodb: fix broken Portfile
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    The `target_architecture` variable is undeclared on any platform other than
</span><span style='display:block; white-space:pre;color:#404040;'>    i386.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Additionally, the Portfile asserts that it only supports x86_64 (via
</span><span style='display:block; white-space:pre;color:#404040;'>    `supported_archs`), so it's not likely that this port would ever be built on
</span><span style='display:block; white-space:pre;color:#404040;'>    i386, which is the only scenario where `target_architecture` would be set.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Fixed by eliminating the variable and directly appending the config option for
</span><span style='display:block; white-space:pre;color:#404040;'>    the appropriate platform.
</span>---
 databases/arangodb/Portfile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/arangodb/Portfile b/databases/arangodb/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e1798b635be..a05e18600c7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/arangodb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/arangodb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -61,15 +61,14 @@ compiler.cxx_standard \
</span> cmake.build_type    Release
 
 platform i386 {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    set target_architecture \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    westmere
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    -DTARGET_ARCHITECTURE=westmere
</span> }
 
 configure.args-append \
                     -DCMAKE_SKIP_RPATH=On \
                     -DOPENSSL_USE_STATIC_LIBS=On \
                     -DPACKAGING=Bundle \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    -DTARGET_ARCHITECTURE=${target_architecture} \
</span>                     -DUSE_CATCH_TESTS=Off \
                     -DUSE_CCACHE=Off \
                     -DUSE_GOOGLE_TESTS=Off \
</pre><pre style='margin:0'>

</pre>