<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/61cbbe1bd797fe9187a9a571d5ceca7159f95cde">https://github.com/macports/macports-ports/commit/61cbbe1bd797fe9187a9a571d5ceca7159f95cde</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 61cbbe1bd79 star: add +universal variant
</span>61cbbe1bd79 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 61cbbe1bd797fe9187a9a571d5ceca7159f95cde
</span>Author: Robert Kennedy <amtor@hotmail.com>
AuthorDate: Wed Oct 4 13:15:44 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> star: add +universal variant
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * add +universal variant
</span>---
archivers/star/Portfile | 66 +++++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 61 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/archivers/star/Portfile b/archivers/star/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 205936487d1..7813baa03ff 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/archivers/star/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/archivers/star/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -59,7 +59,7 @@ checksums rmd160 e154278ecbe7d778bc1d6766ed163c9963b1cc82 \
</span> sha256 a4270cdcca5dd69c0114079277b06e5efad260b0a099c9c09d31e16e99a23ff5 \
size 5896292
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span> reinplace -locale C "s|gnutar|sgnutar|g" \
${worksrcpath}/star/gnutar.1
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -112,6 +112,65 @@ compiler.blacklist-append \
</span>
configure.ldflags-append -lintl
<span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { $universal_possible && [variant_isset universal] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Big Sur and Later
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.platform} eq "darwin" && ${os.major} >= 20 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ platform i386 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.args-append COPTX="-arch x86_64 -arch arm64" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ C++OPTX="-arch x86_64 -arch arm64" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDOPTX="-arch x86_64 -arch arm64"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ platform arm {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.args-append COPTX="-arch x86_64 -arch arm64" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ C++OPTX="-arch x86_64 -arch arm64" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDOPTX="-arch x86_64 -arch arm64"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Lion to Catalina
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif { ${os.platform} eq "darwin" && ${os.major} >=11 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ platform i386 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.args-append COPTX="-arch x86_64 -arch i386" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ C++OPTX="-arch x86_64 -arch i386" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDOPTX="-arch x86_64 -arch i386"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Snow Leopard
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif { ${os.platform} eq "darwin" && ${os.major} ==10 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ platform i386 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.args-append COPTX="-arch x86_64 -arch i386" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ C++OPTX="-arch x86_64 -arch i386" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDOPTX="-arch x86_64 -arch i386"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Note: Snow Leopard can only run 32bit ppc apps via Rosetta
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ platform powerpc {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.args-append COPTX="-arch ppc -arch i386" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ C++OPTX="-arch ppc -arch i386" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDOPTX="-arch ppc -arch i386"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Tiger and Leopard
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif { ${os.platform} eq "darwin" && ${os.major} >= 8 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Note: One could change ppc to ppc64 if so desired
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ platform i386 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.args-append COPTX="-arch ppc -arch i386" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ C++OPTX="-arch ppc -arch i386" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDOPTX="-arch ppc -arch i386"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Note: One could change ppc to ppc64 if so desired
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ platform powerpc {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.args-append COPTX="-arch ppc -arch i386" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ C++OPTX="-arch ppc -arch i386" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDOPTX="-arch ppc -arch i386"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Panther and earlier
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ platform powerpc {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.args-append COPTX="-arch ppc -arch ppc64" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ C++OPTX="-arch ppc -arch ppc64" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDOPTX="-arch ppc -arch ppc64"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_build-append port:smake \
port:gettext
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -123,7 +182,6 @@ build.cmd smake
</span> #
# Must specify INS_BASE and INS_RBASE in both the build and destroot phases
#
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> build.args-append INS_BASE="${destroot}${prefix}" \
INS_RBASE="${destroot}${prefix}" \
DEFOSINCDIRS="${prefix}/include" \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -141,8 +199,6 @@ destroot.destdir INS_BASE="${destroot}${prefix}" \
</span> #
use_parallel_build no
<span style='display:block; white-space:pre;background:#ffe0e0;'>-universal_variant no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> post-destroot {
move ${destroot}${prefix}/bin/gnutar \
${destroot}${prefix}/bin/sgnutar
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -215,7 +271,7 @@ post-destroot {
</span> }
notes "
<span style='display:block; white-space:pre;background:#ffe0e0;'>- The gnutar binary provided in the star port has been prefixed with the character 's' \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ The gnutar binary provided in the star port has been prefixed with the character 's'
</span> (i.e. sgnutar) to distinguish it from the official gnutar binary.
The correspondng man page has also been renamed and updated accordingly.
"
</pre><pre style='margin:0'>
</pre>