[MacPorts] #65988: libdispatch: how to make linking to libblocksruntime work?

MacPorts noreply at macports.org
Fri Oct 14 01:51:35 UTC 2022

#65988: libdispatch: how to make linking to libblocksruntime work?
  Reporter:  barracuda156  |      Owner:  kencu
      Type:  submission    |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:
      Port:  libdispatch   |

Comment (by kencu):

 I think the reason the CMakeLists.txt error on finding
 {{{BlocksRuntime::BlocksRuntime}}} is they don't get this extra definition
 from this folder they expect.

 25:add_library(BlocksRuntime::BlocksRuntime ALIAS BlocksRuntime)

 Finding the places where {{{BlocksRuntime::BlocksRuntime}}} is written and
 changing it to just {{{BlocksRuntime}}} seems to be an easy fix.

 However, you don't get too much farther until you run into this:

  fatal error: 'os/availability.h' file not found
 #include <os/availability.h>

 and that seems to be due to a requirement for a much newer SDK. Perhaps
 those headers can just be copied from some newer SDK and used, either into
 the build itself, or into legacysupport.

 But I'm done for this day :>

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

More information about the macports-tickets mailing list