[MacPorts] #56082: libsdl2 @2.0.8: error: unrecognized platform name macOS

MacPorts noreply at macports.org
Fri Apr 6 22:57:18 UTC 2018


#56082: libsdl2 @2.0.8: error: unrecognized platform name macOS
------------------------+------------------------
  Reporter:  adamb2903  |      Owner:  jmroot
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:  highsierra
      Port:  libsdl2    |
------------------------+------------------------

Comment (by thomaskchan):

 Replying to [comment:10 jmroot]:
 > OK, and what about if you try a build from source?
 > {{{
 > sudo port destroot libsdl2 -x11
 > }}}

 Fails due to same error:

 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.8/src/render/metal/SDL_render_metal.m:643:20:
 error: unrecognized platform name macOS
 :info:build     if (@available(macOS 10.13, *)) {
 :info:build                    ^
 :info:build 1 error generated.
 :info:build make: *** [build/SDL_render_metal.lo] Error 1
 :info:build make: *** Waiting for unfinished jobs....

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


More information about the macports-tickets mailing list