<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d41c4597f44770190d17c2aea5ef9c6345d1206c">https://github.com/macports/macports-ports/commit/d41c4597f44770190d17c2aea5ef9c6345d1206c</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit d41c4597f44770190d17c2aea5ef9c6345d1206c
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Tue Nov 17 13:51:49 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> erlang: Simplify destroot
</span>---
lang/erlang/Portfile | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/erlang/Portfile b/lang/erlang/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 73406f2cae8..069138fbe9e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/erlang/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/erlang/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -86,13 +86,17 @@ post-destroot {
</span> set erl_interface_dir erl_interface-4.0
set wx_dir wx-1.9.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach x {dialyzer ear ecc elink epmd erl erlc escript run_erl start to_erl typer} { file delete -force ${destroot}${prefix}/bin/${x} }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach x {dialyzer erl erlc escript run_erl start to_erl typer} { system "ln -s ../lib/erlang/bin/${x} ${destroot}${prefix}/bin/${x}" }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach x {dialyzer ear ecc elink epmd erl erlc escript run_erl start to_erl typer} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${destroot}${prefix}/bin/${x}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach x {dialyzer erl erlc escript run_erl start to_erl typer} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ../lib/erlang/bin/${x} ${destroot}${prefix}/bin/${x}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- file delete -force ${destroot}${prefix}/lib/erlang/bin/epmd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "ln -s ../${erts_dir}/bin/epmd ${destroot}${prefix}/lib/erlang/bin/epmd"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "ln -s ../lib/erlang/${erts_dir}/bin/epmd ${destroot}${prefix}/bin/epmd"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "ln -s ../lib/erlang/lib/${erl_interface_dir}/bin/erl_call ${destroot}${prefix}/bin/erl_call"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${destroot}${prefix}/lib/erlang/bin/epmd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ../${erts_dir}/bin/epmd ${destroot}${prefix}/lib/erlang/bin/epmd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ../lib/erlang/${erts_dir}/bin/epmd ${destroot}${prefix}/bin/epmd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ../lib/erlang/lib/${erl_interface_dir}/bin/erl_call ${destroot}${prefix}/bin/erl_call
</span> }
platform darwin 10 {
</pre><pre style='margin:0'>
</pre>