<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/09601a9dcac121be521d4555acc3a020c031e1ec">https://github.com/macports/macports-ports/commit/09601a9dcac121be521d4555acc3a020c031e1ec</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 09601a9dcac121be521d4555acc3a020c031e1ec
</span>Author: ken-cunningham-webuse <ken.cunningham.webuse@gmail.com>
AuthorDate: Sat Feb 23 16:02:02 2019 -0800
<span style='display:block; white-space:pre;color:#404040;'> meson: explicity specify test.env
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> I had hoped that using the expansion operator would do this properly,
</span><span style='display:block; white-space:pre;color:#404040;'> but in use it did not seem to do so, so spec the test.env directly
</span>---
devel/meson/Portfile | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/meson/Portfile b/devel/meson/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 012558e..3d49ea5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/meson/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/meson/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -71,6 +71,11 @@ pre-test {
</span> }
test.run yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-test.env-append configure.env{*}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.env CXX="${configure.cxx}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CC="${configure.cc}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PREFIX=${prefix}
</span> test.cmd ./run_tests.py
test.target
</pre><pre style='margin:0'>
</pre>