<pre style='margin:0'>
Andrea D'Amore (anddam) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/88e38b7498589689e987759725a86ad4d1c06ca1">https://github.com/macports/macports-ports/commit/88e38b7498589689e987759725a86ad4d1c06ca1</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 88e38b7498589689e987759725a86ad4d1c06ca1
</span>Author: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
AuthorDate: Sun Dec 18 02:24:42 2016 -0800
<span style='display:block; white-space:pre;color:#404040;'> ld64: Correct supported architectures list for versions that support ppc
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
</span>---
devel/ld64/Portfile | 9 ++-------
devel/ld64/files/ld64-127-configured_architectures.patch | 2 +-
devel/ld64/files/ld64-97-configured_architectures.patch | 2 +-
3 files changed, 4 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/ld64/Portfile b/devel/ld64/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 15037b6..fe1273c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/ld64/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/ld64/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -45,7 +45,7 @@ checksums dyld-421.2.tar.gz \
</span> subport ld64-97 {
# XCode 3.2.6
version 97.17
<span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 7
</span>
set makefile "Makefile-97"
set ld64_ver 97
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -76,7 +76,7 @@ subport ld64-127 {
</span> # XCode 4.2
# This was the last ld64 release that supported linking ppc executables.
version 127.2
<span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 10
</span>
set makefile "Makefile-127"
set ld64_ver 127
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -395,11 +395,6 @@ if {${subport} eq ${name}} {
</span> OTHER_CXXFLAGS="${configure.cxxflags} ${cxx_stdlibflags} [get_canonical_archflags cxx]" \
OTHER_LDFLAGS="${configure.ldflags} ${cxx_stdlibflags} [get_canonical_archflags ld]"
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} >= 11} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- build.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- RC_SUPPORTED_ARCHS="armv6 armv7 i386 x86_64"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> destroot.args \
PREFIX=${prefix}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/ld64/files/ld64-127-configured_architectures.patch b/devel/ld64/files/ld64-127-configured_architectures.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index a58038a..d44e682 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/ld64/files/ld64-127-configured_architectures.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/ld64/files/ld64-127-configured_architectures.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,7 +25,7 @@ index 00000000..8852198b
</span> +fi
+
+if [ -z "${RC_SUPPORTED_ARCHS}" ]; then
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ RC_SUPPORTED_ARCHS="i386 x86_64 armv6 armv7"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ RC_SUPPORTED_ARCHS="i386 x86_64 ppc ppc64 armv6 armv7"
</span> +fi
+
+echo "#define ALL_SUPPORTED_ARCHS \"${RC_SUPPORTED_ARCHS}\"" >> ${DERIVED_FILE_DIR}/configure.h
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/ld64/files/ld64-97-configured_architectures.patch b/devel/ld64/files/ld64-97-configured_architectures.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 10c152e..d291e1b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/ld64/files/ld64-97-configured_architectures.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/ld64/files/ld64-97-configured_architectures.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,7 +26,7 @@ index 00000000..8852198b
</span> +fi
+
+if [ -z "${RC_SUPPORTED_ARCHS}" ]; then
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ RC_SUPPORTED_ARCHS="i386 x86_64 armv6 armv7"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ RC_SUPPORTED_ARCHS="i386 x86_64 ppc ppc64 armv6 armv7"
</span> +fi
+
+echo "#define ALL_SUPPORTED_ARCHS \"${RC_SUPPORTED_ARCHS}\"" >> ${DERIVED_FILE_DIR}/configure.h
</pre><pre style='margin:0'>
</pre>