<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/470c1a1b86c854718e5da65e46d8702efaa29742">https://github.com/macports/macports-ports/commit/470c1a1b86c854718e5da65e46d8702efaa29742</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 470c1a1b86c flang-11: simplify build
</span>470c1a1b86c is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 470c1a1b86c854718e5da65e46d8702efaa29742
</span>Author: Ken Cunningham <ken.cunningham.webuse@gmail.com>
AuthorDate: Fri Dec 4 00:35:32 2020 -0800

<span style='display:block; white-space:pre;color:#404040;'>    flang-11: simplify build
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    most of the other co-builds are not actually needed
</span><span style='display:block; white-space:pre;color:#404040;'>    to build flang, and therefore the patches and
</span><span style='display:block; white-space:pre;color:#404040;'>    blockers that go along with those co-builds are also
</span><span style='display:block; white-space:pre;color:#404040;'>    not needed at present.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    this simplifies the Portfile, build, patching,
</span><span style='display:block; white-space:pre;color:#404040;'>    and maintenance.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    no revbump as this does not change any currently
</span><span style='display:block; white-space:pre;color:#404040;'>    installed files.
</span>---
 lang/llvm-11/Portfile | 24 ++----------------------
 1 file changed, 2 insertions(+), 22 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-11/Portfile b/lang/llvm-11/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 61bbd5aa017..ded3e323785 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-11/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-11/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -123,11 +123,6 @@ post-extract {
</span>         ln -s ${workpath}/llvm-project/libcxxabi                        ${worksrcpath}/projects/libcxxabi
         ln -s ${workpath}/llvm-project/clang-tools-extra                ${worksrcpath}/tools/clang/tools/extra
     } elseif {${subport} eq "flang-${llvm_version}"} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        ln -s ${workpath}/llvm-project/clang                            ${worksrcpath}/tools/clang
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        ln -s ${workpath}/llvm-project/compiler-rt                      ${worksrcpath}/projects/compiler-rt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        ln -s ${workpath}/llvm-project/libcxx                           ${worksrcpath}/projects/libcxx
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        ln -s ${workpath}/llvm-project/libcxxabi                        ${worksrcpath}/projects/libcxxabi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        ln -s ${workpath}/llvm-project/clang-tools-extra                ${worksrcpath}/tools/clang/tools/extra
</span>         ln -s ${workpath}/llvm-project/mlir                             ${worksrcpath}/tools/mlir
         ln -s ${workpath}/llvm-project/flang                            ${worksrcpath}/tools/flang
     } elseif {${subport} eq "lldb-${llvm_version}"} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -165,22 +160,7 @@ if {${subport} eq "clang-${llvm_version}"} {
</span> }
 
 if {${subport} eq "flang-${llvm_version}"} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    patchfiles-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        1001-MacPorts-Only-Prepare-clang-format-for-replacement-w.patch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        1002-MacPorts-Only-Fix-name-of-scan-view-executable-insid.patch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        1004-Default-to-fragile-ObjC-runtime-when-targeting-darwi.patch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        1005-Fixup-libstdc-header-search-paths-for-older-versions.patch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        1007-Fix-float.h-to-work-on-Snow-Leopard-and-earlier.patch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        1008-compilerrt-fuzzer-missingdefs.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        1009-compilerrt-sanitizer-missingdefs.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        2002-Work-around-no-libdispatch-on-10.6.patch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        3001-Fix-missing-long-long-math-prototypes-when-using-the.patch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        3002-implement-atomic-using-mutex-lock_guard-for-64b-ops-.patch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        3003-patch-libcxx-chrono-restore-steadyclock-fallback.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        openmp-locations.patch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        leopard-no-asan.patch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        5000-patch-compilerrtdarwinutils-find-macosxsdkversion.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        5002-patch-toolchains-darwin-add-back-pre-10.6-link-libs.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# no patches needed at present.
</span> }
 
 if {${subport} eq "lldb-${llvm_version}"} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -342,7 +322,7 @@ variant assertions description "Enable assertions for error detection (has perfo
</span> 
 platform darwin {
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    if {${subport} eq "clang-${llvm_version}" || ${subport} eq "flang-${llvm_version}"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${subport} eq "clang-${llvm_version}"} {
</span> 
         if {${os.major} == 14} {
             # Building Xray forces build of sanitizer_common, even if
</pre><pre style='margin:0'>

</pre>