[MacPorts] #63584: pango uses not right compiler

MacPorts noreply at macports.org
Sat Oct 9 01:01:10 UTC 2021


#63584: pango uses not right compiler
---------------------+----------------------
  Reporter:  catap   |      Owner:  mascguy
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  pango   |
---------------------+----------------------

Comment (by evanmiller):

 Here is the copy pasta for anyone interested, looks relatively
 straightforward

 {{{
 # gobject-introspection uses g-ir-scanner, which uses $CC from env
 if {${universal_possible} && [variant_isset universal]} {
     foreach arch ${configure.universal_archs} {
         lappend merger_build_env(${arch})  "CC=${configure.cc} -arch
 ${arch}"
         lappend merger_destroot_env(${arch})  "CC=${configure.cc} -arch
 ${arch}"
     }
 } else {
     build.env-append       "CC=${configure.cc} ${configure.cc_archflags}"
     destroot.env-append    "CC=${configure.cc} ${configure.cc_archflags}"
 }
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/63584#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list