[MacPorts] #67174: R-systemfonts fails on 10.8 and earlier with Clang

MacPorts noreply at macports.org
Mon Apr 3 03:17:57 UTC 2023


#67174: R-systemfonts fails on 10.8 and earlier with Clang
----------------------------+--------------------------
  Reporter:  barracuda156   |      Owner:  barracuda156
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.8.1
Resolution:                 |   Keywords:
      Port:  R-systemfonts  |
----------------------------+--------------------------

Comment (by barracuda156):

 UPD. Yeah, this works:
 {{{
 platform darwin {
     if {[string match *gcc* ${configure.compiler}] || ${os.major} < 13} {
         # Older OS do not support native API, but GCC gonna fail anyway:
         # g++-mp-12: error: unrecognized command-line option '-fobjc-arc'
         patchfiles-append \
                     patch-older-macos.diff
         depends_lib-append \
                     port:fontconfig
     }
 }
 }}}

 {{{
 svacchanda$ port -v installed R-systemfonts
 The following ports are currently installed:
   R-systemfonts @1.0.4_0 (active) requested_variants='' platform='darwin
 12' archs='x86_64' date='2023-04-03T11:16:55+0800'
 }}}

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


More information about the macports-tickets mailing list