<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/67b09b7215e90fee0dbc9403b124d3eab6f91c92">https://github.com/macports/macports-ports/commit/67b09b7215e90fee0dbc9403b124d3eab6f91c92</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 67b09b7215e xz-bootstrap: Remove nonessential features
</span>67b09b7215e is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 67b09b7215e90fee0dbc9403b124d3eab6f91c92
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Tue May 12 02:55:29 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> xz-bootstrap: Remove nonessential features
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Don't link with gettext.
</span><span style='display:block; white-space:pre;color:#404040;'> Don't use libiconv.
</span><span style='display:block; white-space:pre;color:#404040;'> Don't create a static library.
</span><span style='display:block; white-space:pre;color:#404040;'> Don't create lzmautils compatibility programs and symlinks.
</span><span style='display:block; white-space:pre;color:#404040;'> Don't create the xzdec program.
</span><span style='display:block; white-space:pre;color:#404040;'> Don't create the scripts.
</span><span style='display:block; white-space:pre;color:#404040;'> Don't install documentation.
</span><span style='display:block; white-space:pre;color:#404040;'> Don't install manpages.
</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/58526
</span>---
archivers/xz/Portfile | 34 ++++++++++++++++++++++++----------
1 file changed, 24 insertions(+), 10 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/archivers/xz/Portfile b/archivers/xz/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0edc02b8223..e550edd5dfb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/archivers/xz/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/archivers/xz/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,22 +26,41 @@ homepage https://tukaani.org/xz/
</span> master_sites sourceforge:project/lzmautils
use_bzip2 yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:libiconv port:gettext
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> set my_prefix ${prefix}
if {${subport} eq ${name}} {
revision 0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libiconv \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gettext
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-libiconv-prefix=${my_prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-libintl-prefix=${my_prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # document that we always need legacy symlinks now that "lzmautils" refers here
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-lzma-links
</span> }
# This port is used by clang-3.4 to bootstrap libcxx
subport ${name}-bootstrap {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 1
</span> set my_prefix ${prefix}/libexec/libcxx-bootstrap
configure.pre_args --prefix=${my_prefix}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-replace port:libiconv port:libiconv-bootstrap \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:gettext port:gettext-bootstrap
</span> configure.ldflags-prepend -L${my_prefix}/lib
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args --disable-doc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-lzma-links \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-lzmadec \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-lzmainfo \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-nls \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-scripts \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-static \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-xzdec \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-libiconv-prefix \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-libintl-prefix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Don't install manpages
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.args dist_man_MANS=
</span> # Avoid macports-clang dep (doesn't use C++ anyway)
configure.cxx_stdlib
compiler.whitelist clang llvm-gcc-4.2 gcc-4.2 apple-gcc-4.2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -54,11 +73,6 @@ if {${os.platform} eq "darwin" && ${os.major} < 11 && ${cxx_stdlib} eq "libc++"}
</span>
patchfiles c89.patch
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --with-libiconv-prefix=${my_prefix} --with-libintl-prefix=${my_prefix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# document that we always need legacy symlinks now that "lzmautils" refers here
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append --enable-lzma-links
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # the internal "check.h" header conflicts with port check's <check.h>
configure.cppflags -I${worksrcpath}/src/liblzma/check -I${my_prefix}/include
</pre><pre style='margin:0'>
</pre>