[MacPorts] #74025: harfbuzz-14.2.0 does not build on PPC Leopard, Mac OS X 10.5.8, because of error: 'CTFontManagerCreateFontDescriptorsFromURL' was not declared in this scope

MacPorts noreply at macports.org
Sun May 24 12:21:18 UTC 2026


#74025: harfbuzz-14.2.0 does not build on PPC Leopard, Mac OS X 10.5.8, because of
error: 'CTFontManagerCreateFontDescriptorsFromURL' was not declared in this
scope
------------------------+-------------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.12.5
Resolution:             |   Keywords:  ppc leopard
      Port:  harfbuzz   |
------------------------+-------------------------

Comment (by ballapete):

 It built! The remaining differences left in `Portfile` are:

 {{{
 --- Portfile.txt        2026-05-24 11:46:58.000000000 +0200
 +++ /Volumes/BSD-Linux/MacPorts-Ports/graphics/harfbuzz/Portfile
 2026-05-24 12:43:18.000000000 +0200
 @@ -5,6 +5,7 @@
  PortGroup           gobject_introspection 1.0
  PortGroup           meson 1.0
  PortGroup           muniversal 1.1
 +PortGroup           legacysupport 1.1

  # Please keep the harfbuzz and harfbuzz-devel ports as similar as
 possible.

 @@ -28,7 +29,7 @@
  # Disable unexpected download of subprojects
  meson.wrap_mode     nodownload

 -set py_ver          3.14
 +set py_ver          3.12
  set py_ver_nodot    [string map {. {}} ${py_ver}]

  depends_build-append \
 }}}

 The build log is saved, `harfbuzz-icu` started to build.

 Presumingly the decisive difference is this one:

 {{{
 -    # This is broken on 10.5: https://trac.macports.org/ticket/71575
 -    if {${os.platform} eq "darwin" && ${os.major} > 9} {
 +    if {${os.platform} eq "darwin" && ${os.major} >= 9} {
 }}}

 One "=" too much…

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


More information about the macports-tickets mailing list