<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/754e400990c7de3436a774921fbbe1a1613e840f">https://github.com/macports/macports-ports/commit/754e400990c7de3436a774921fbbe1a1613e840f</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 754e400 libtool: fix xattr call on older systems
</span>754e400 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 754e400990c7de3436a774921fbbe1a1613e840f
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Wed Oct 25 18:42:30 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> libtool: fix xattr call on older systems
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Leopard and earlier have an xattr that does not
</span><span style='display:block; white-space:pre;color:#404040;'> support the -r option. Do the recursion manually
</span><span style='display:block; white-space:pre;color:#404040;'> on those systems
</span>---
devel/libtool/Portfile | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libtool/Portfile b/devel/libtool/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b28a37b..b2de349 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libtool/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libtool/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -67,7 +67,12 @@ post-destroot {
</span>
# libtool 2.4.6 contains com.dropbox.attributes xattrs,
# let's avoid spreading them further (#54459)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system "xattr -r -d com.dropbox.attributes ${destroot}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # xattr on leopard or earlier does not support -r so do the recursion manually
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.platform} eq "darwin" && ${os.major} >= 10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "xattr -r -d com.dropbox.attributes ${destroot}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${destroot} "find . -type f -print0 | xargs -0 xattr -d com.dropbox.attributes"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
test.run yes
</pre><pre style='margin:0'>
</pre>