[MacPorts] #66188: libsdl2: re-enable universal building i386/x86_64

MacPorts noreply at macports.org
Mon Nov 7 20:17:27 UTC 2022

#66188: libsdl2: re-enable universal building i386/x86_64
 Reporter:  kencu   |      Owner:  jmroot
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  libsdl2
 universal building as above was recently disabled due to an issue with
 objective C capabilities for i386 systems.


 I believe there are a number of ports that need libsdl2 available as
 universal, however, to build universal themselves.

 Although the system clang does not support ObjC-arc on these systems,
 somewhere along the line this capability was added, and newer MacPorts'
 clangs do seem to support it.

 Blacklisting the system clang leads to a successful universal build.

 compiler.blacklist *gcc* {clang < 426}

 $ port -v installed libsdl2
 The following ports are currently installed:
   libsdl2 @2.24.2_0+universal (active) requested_variants='+universal'
 platform='darwin 11' archs='i386 x86_64' date='2022-11-06T23:10:36-0800'

 I need to do a little more experimenting to see just what OS version has
 the system clang that can support this, to know where the clang cutoff
 needs to be set.

Ticket URL: <https://trac.macports.org/ticket/66188>
MacPorts <https://www.macports.org/>
Ports system for macOS

More information about the macports-tickets mailing list