<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2f7734e3b72dcd1f6bd92bafb99ff8a4ab49d01e">https://github.com/macports/macports-ports/commit/2f7734e3b72dcd1f6bd92bafb99ff8a4ab49d01e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 2f7734e3b72dcd1f6bd92bafb99ff8a4ab49d01e
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Mon Apr 4 21:56:52 2022 -0700
<span style='display:block; white-space:pre;color:#404040;'> muniversal PG, isl: fix *_FOR_BUILD values
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The *_FOR_BUILD environment variables should build a working binary.
</span><span style='display:block; white-space:pre;color:#404040;'> See https://groups.google.com/g/isl-development/c/Khx3_0g9Dzw
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> No revbump since installed files do not change.
</span>---
_resources/port1.0/group/muniversal-1.1.tcl | 25 ++++++++++++++++++++-----
devel/isl/Portfile | 11 -----------
devel/isl/files/patch-cross.diff | 11 -----------
3 files changed, 20 insertions(+), 27 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/muniversal-1.1.tcl b/_resources/port1.0/group/muniversal-1.1.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 39e8a9897d7..4708eb34ccf 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/muniversal-1.1.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/muniversal-1.1.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -637,11 +637,26 @@ proc parse_environment {command} {
</span> global ${command}.env.${arch} \
${command}.env_array
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ${command} eq "configure" && [option muniversal.arch_compiler] && [option muniversal.is_cross.${arch}] } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set ${command}.env_array(CPP_FOR_BUILD) "[portconfigure::configure_get_compiler cpp]"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set ${command}.env_array(CXXCPP_FOR_BUILD) "[portconfigure::configure_get_compiler cpp]"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set ${command}.env_array(CC_FOR_BUILD) "[portconfigure::configure_get_compiler cc] [portconfigure::configure_get_archflags cc]"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set ${command}.env_array(CXX_FOR_BUILD) "[portconfigure::configure_get_compiler cxx] [portconfigure::configure_get_archflags cxx]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${command} eq "configure" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ${command}.env_array(CPP_FOR_BUILD) "[portconfigure::configure_get_compiler cpp]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ${command}.env_array(CXXCPP_FOR_BUILD) "[portconfigure::configure_get_compiler cpp]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ${command}.env_array(CPPFLAGS_FOR_BUILD) [option configure.cppflags]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [option muniversal.arch_compiler] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ${command}.env_array(CC_FOR_BUILD) "[portconfigure::configure_get_compiler cc] [portconfigure::configure_get_archflags cc]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ${command}.env_array(CXX_FOR_BUILD) "[portconfigure::configure_get_compiler cxx] [portconfigure::configure_get_archflags cxx]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ${command}.env_array(CFLAGS_FOR_BUILD) [option configure.cflags]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ${command}.env_array(CXXFLAGS_FOR_BUILD) [option configure.cxxflags]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ${command}.env_array(LDFLAGS_FOR_BUILD) [option configure.ldflags]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ${command}.env_array(CC_FOR_BUILD) "[portconfigure::configure_get_compiler cc]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ${command}.env_array(CXX_FOR_BUILD) "[portconfigure::configure_get_compiler cxx]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ${command}.env_array(CFLAGS_FOR_BUILD) "[option configure.cflags] [portconfigure::configure_get_archflags cc]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ${command}.env_array(CXXFLAGS_FOR_BUILD) "[option configure.cxxflags] [portconfigure::configure_get_archflags cxx]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ${command}.env_array(LDFLAGS_FOR_BUILD) "[option configure.ldflags] [portconfigure::configure_get_archflags ld]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
if { [info exists ${command}.env.${arch}] } {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/isl/Portfile b/devel/isl/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1a3fdcf8470..ea74e8883fd 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/isl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/isl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -56,21 +56,10 @@ if {${subport} eq ${name}} {
</span> # be more strict about detecting C++11 for older compilers
patchfiles-append patch-configure_c++11.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # see https://groups.google.com/g/isl-development/c/Khx3_0g9Dzw
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append patch-cross.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # ./include/isl/typed_cpp.h:2132:12: error: no matching conversion for functional-style cast from 'const isl::basic_set' to 'isl::typed::basic_set<>'
compiler.blacklist {clang < 500}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# see https://trac.macports.org/wiki/UsingTheRightCompiler
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# see https://trac.macports.org/ticket/64294
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CC_FOR_BUILD=${configure.cc} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LDFLAGS_FOR_BUILD=\"\$LDFLAGS\" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CPPFLAGS_FOR_BUILD=\"\$CPPFLAGS\" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CFLAGS_FOR_BUILD=\"\$CFLAGS\"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> subport isl14 {
epoch 0
version 0.14.1
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/isl/files/patch-cross.diff b/devel/isl/files/patch-cross.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index fc62d43583b..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/isl/files/patch-cross.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- configure.orig 2021-04-26 02:13:19.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ configure 2022-03-12 10:45:30.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -4987,7 +4987,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--cross_compiling_build=no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+cross_compiling_build=maybe
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ac_build_tool_prefix=
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if test -n "$build"; then :
</span></pre><pre style='margin:0'>
</pre>