[MacPorts] #71049: openjdk21 @21.0.4+7: error: use of undeclared identifier 'NSBundleExecutableArchitectureARM64' on 10.14 and 10.15

MacPorts noreply at macports.org
Mon Oct 7 04:16:32 UTC 2024


#71049: openjdk21 @21.0.4+7: error: use of undeclared identifier
'NSBundleExecutableArchitectureARM64' on 10.14 and 10.15
---------------------------+-----------------------------
  Reporter:  sambthompson  |      Owner:  breun
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.2
Resolution:                |   Keywords:  catalina mojave
      Port:  openjdk21     |
---------------------------+-----------------------------

Comment (by jmroot):

 The fix is easy enough at least: wrap the section requiring macOS 11+ in
 `#if MAC_OS_X_VERSION_MAX_ALLOWED >= 110000`.

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


More information about the macports-tickets mailing list