<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/125dc2344dfc8739dc56cd50d0f2f0ccc80354f5">https://github.com/macports/macports-ports/commit/125dc2344dfc8739dc56cd50d0f2f0ccc80354f5</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 125dc2344dfc8739dc56cd50d0f2f0ccc80354f5
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Sat Apr 10 10:50:50 2021 -0700

<span style='display:block; white-space:pre;color:#404040;'>    icu: be specific about the cleared flags
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    we want to make sure the icu build does not find
</span><span style='display:block; white-space:pre;color:#404040;'>    the installed icu when rebuilding or upgrading,
</span><span style='display:block; white-space:pre;color:#404040;'>    as this causes errors in both building and linking.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    but we don't need to clear out all the cpp and ldflags
</span><span style='display:block; white-space:pre;color:#404040;'>    in so doing, just the ones specified here.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    also, clear cpath and library_path as well, as these
</span><span style='display:block; white-space:pre;color:#404040;'>    also pass such paths to the compiler and linker.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    no revbump as update to icu coming shortly
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    example of changes (Mojave, non-universal):
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    new:
</span><span style='display:block; white-space:pre;color:#404040;'>    DEBUG: Environment:
</span><span style='display:block; white-space:pre;color:#404040;'>    CC='/usr/bin/clang'
</span><span style='display:block; white-space:pre;color:#404040;'>    CC_PRINT_OPTIONS='YES'
</span><span style='display:block; white-space:pre;color:#404040;'>    CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_macportsofficial_macports-ports_devel_icu/icu/work/.CC_PRINT_OPTIONS'
</span><span style='display:block; white-space:pre;color:#404040;'>    CFLAGS='-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch x86_64'
</span><span style='display:block; white-space:pre;color:#404040;'>    CPPFLAGS='-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk'
</span><span style='display:block; white-space:pre;color:#404040;'>    CXX='/usr/bin/clang++'
</span><span style='display:block; white-space:pre;color:#404040;'>    CXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch x86_64'
</span><span style='display:block; white-space:pre;color:#404040;'>    DEVELOPER_DIR='/Library/Developer/CommandLineTools'
</span><span style='display:block; white-space:pre;color:#404040;'>    F90FLAGS='-pipe -Os -m64'
</span><span style='display:block; white-space:pre;color:#404040;'>    FCFLAGS='-pipe -Os -m64'
</span><span style='display:block; white-space:pre;color:#404040;'>    FFLAGS='-pipe -Os -m64'
</span><span style='display:block; white-space:pre;color:#404040;'>    INSTALL='/usr/bin/install -c'
</span><span style='display:block; white-space:pre;color:#404040;'>    LDFLAGS='-Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch x86_64'
</span><span style='display:block; white-space:pre;color:#404040;'>    MACOSX_DEPLOYMENT_TARGET='10.14'
</span><span style='display:block; white-space:pre;color:#404040;'>    OBJC='/usr/bin/clang'
</span><span style='display:block; white-space:pre;color:#404040;'>    OBJCFLAGS='-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch x86_64'
</span><span style='display:block; white-space:pre;color:#404040;'>    OBJCXX='/usr/bin/clang++'
</span><span style='display:block; white-space:pre;color:#404040;'>    OBJCXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch x86_64'
</span><span style='display:block; white-space:pre;color:#404040;'>    PYTHON='/usr/bin/python'
</span><span style='display:block; white-space:pre;color:#404040;'>    SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk'
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    previous:
</span><span style='display:block; white-space:pre;color:#404040;'>    DEBUG: Environment:
</span><span style='display:block; white-space:pre;color:#404040;'>    CC='/usr/bin/clang'
</span><span style='display:block; white-space:pre;color:#404040;'>    CC_PRINT_OPTIONS='YES'
</span><span style='display:block; white-space:pre;color:#404040;'>    CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/.CC_PRINT_OPTIONS'
</span><span style='display:block; white-space:pre;color:#404040;'>    CFLAGS='-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch x86_64'
</span><span style='display:block; white-space:pre;color:#404040;'>    CPATH='/opt/local/include'
</span><span style='display:block; white-space:pre;color:#404040;'>    CPPFLAGS='-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk'
</span><span style='display:block; white-space:pre;color:#404040;'>    CXX='/usr/bin/clang++'
</span><span style='display:block; white-space:pre;color:#404040;'>    CXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch x86_64'
</span><span style='display:block; white-space:pre;color:#404040;'>    DEVELOPER_DIR='/Library/Developer/CommandLineTools'
</span><span style='display:block; white-space:pre;color:#404040;'>    F90FLAGS='-pipe -Os -m64'
</span><span style='display:block; white-space:pre;color:#404040;'>    FCFLAGS='-pipe -Os -m64'
</span><span style='display:block; white-space:pre;color:#404040;'>    FFLAGS='-pipe -Os -m64'
</span><span style='display:block; white-space:pre;color:#404040;'>    INSTALL='/usr/bin/install -c'
</span><span style='display:block; white-space:pre;color:#404040;'>    LDFLAGS='-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch x86_64'
</span><span style='display:block; white-space:pre;color:#404040;'>    LIBRARY_PATH='/opt/local/lib'
</span><span style='display:block; white-space:pre;color:#404040;'>    MACOSX_DEPLOYMENT_TARGET='10.14'
</span><span style='display:block; white-space:pre;color:#404040;'>    OBJC='/usr/bin/clang'
</span><span style='display:block; white-space:pre;color:#404040;'>    OBJCFLAGS='-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch x86_64'
</span><span style='display:block; white-space:pre;color:#404040;'>    OBJCXX='/usr/bin/clang++'
</span><span style='display:block; white-space:pre;color:#404040;'>    OBJCXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch x86_64'
</span><span style='display:block; white-space:pre;color:#404040;'>    PYTHON='/usr/bin/python'
</span><span style='display:block; white-space:pre;color:#404040;'>    SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk'
</span>---
 devel/icu/Portfile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/icu/Portfile b/devel/icu/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 44da92e9200..6801e5fb672 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/icu/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/icu/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -56,8 +56,10 @@ if {${subport} eq ${name} || ${subport} eq "${name}-lx"} {
</span>     configure.python        /usr/bin/python
 
     # prevent ICU from finding installed icu when upgrading (#11981).
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    configure.cppflags
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    configure.ldflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    compiler.cpath
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    compiler.library_path
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.cppflags-delete -I${prefix}/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.ldflags-delete  -L${prefix}/lib
</span> 
     configure.args      --disable-layoutex \
                         --disable-samples \
</pre><pre style='margin:0'>

</pre>