<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/67f07861653d2430942a447148a8dfd4dbca14f6">https://github.com/macports/macports-ports/commit/67f07861653d2430942a447148a8dfd4dbca14f6</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 67f07861653 meson-1.0: Add setup using configure.pre_args (#17482)
</span>67f07861653 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 67f07861653d2430942a447148a8dfd4dbca14f6
</span>Author: Dean M Greer <38226388+Gcenx@users.noreply.github.com>
AuthorDate: Fri Jan 27 02:20:22 2023 -0500
<span style='display:block; white-space:pre;color:#404040;'> meson-1.0: Add setup using configure.pre_args (#17482)
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> meson now requires "${prefix}/bin/meson setup" when configuring, not just ${prefix}/bin/meson"
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> However, tacking "setup" onto the configure.cmd interferes with the way the muniversal portgroups decide what kind of build is being done.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> So we will try adding "setup" via configure.pre_args instead, to avoid this.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> see: https://trac.macports.org/ticket/66761
</span>---
_resources/port1.0/group/meson-1.0.tcl | 1 +
1 file changed, 1 insertion(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/meson-1.0.tcl b/_resources/port1.0/group/meson-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 9a422b114fa..5dec5d87546 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/meson-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/meson-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,6 +17,7 @@ depends_skip_archcheck-append \
</span>
# TODO: --buildtype=plain tells Meson not to add its own flags to the command line. This gives the packager total control on used flags.
default configure.cmd {${prefix}/bin/meson}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+default configure.pre_args {setup --prefix=${prefix}}
</span> default configure.post_args {[meson::get_post_args]}
configure.universal_args-delete \
--disable-dependency-tracking
</pre><pre style='margin:0'>
</pre>