<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">31. dec. 2017 8:52 AM "Ryan Schmidt" wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
> +# Meson's install_name currently seems to be broken, so workarounds might be needed to make ports actually work.<br>
> +# See: <a href="https://github.com/mesonbuild/meson/issues/2121" rel="noreferrer" target="_blank">https://github.com/mesonbuild/<wbr>meson/issues/2121</a><br>
<br>
Yeah something is going to have to get fixed there. I don't understand why they want to use @rpath which requires Mac OS X 10.5 or greater. I'd like to rip that out and replace it with plain old absolute-path install_names which we use almost everywhere in MacPorts and they work great on all macOS versions.<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">Before putting any effort in that direction, I suspect ninja might not even work on ppc (or at least I don't find it on package server), so you might be serving i386 10.4 only, a super rare species. Another issue is that it's nontrivial to make tests work before binaries are installed.</div><div dir="auto"><br></div><div dir="auto">I would support the idea of supporting both options, but we need to get at least one working first.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> +# meson builds need to be done out-of-source<br>
> +default build_dir {${workpath}/build}<br>
<br>
MacPorts doesn't have an option called "build_dir" so I don't even know how this is working...<br>
<br>
<br>
> +default configure.post_args {"${configure.dir} ${build_dir}"}<br>
> +default build.dir {${build_dir}}<br>
<br>
Why do we need an additional level of indirection? Why can't we just:<br>
<br>
default build.dir {${workpath}/build}<br>
default configure.post_args {"${configure.dir} ${build.dir}"}<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">I started copying cmake setup. Feel free to fix it (I'm not behind my computer).</div><div dir="auto"><br></div><div dir="auto">Mojca</div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div><br></div></div></div>