[MacPorts] #66712: ruby31 fails to build on 10.5 - cstdbool not found

MacPorts noreply at macports.org
Wed Jan 18 11:43:29 UTC 2023


#66712: ruby31 fails to build on 10.5 - cstdbool not found
-----------------------+----------------------------
  Reporter:  rmottola  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  leopard legacy
      Port:  ruby31    |
-----------------------+----------------------------

Comment (by jmroot):

 It's always a good idea to use the numeric values of the
 `MAC_OS_X_VERSION_*` macros, because the macros themselves won't be
 defined on systems older than the version they refer to. The definitions
 are in `AvailabilityMacros.h`. E.g.
 {{{
 #define MAC_OS_X_VERSION_10_6         1060
 }}}
 So all occurrences of `MAC_OS_X_VERSION_10_6` in the source can be
 replaced with `1060`.

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


More information about the macports-tickets mailing list