[MacPorts] #52210: libsdl2: make it build on 10.6 (against 10.6 SDK)

MacPorts noreply at macports.org
Thu Nov 3 15:38:18 CET 2016


#52210: libsdl2: make it build on 10.6 (against 10.6 SDK)
-------------------------------------+-------------------------
  Reporter:  kenneth.f.cunningham@…  |      Owner:  jmroot
      Type:  defect                  |     Status:  new
  Priority:  Low                     |  Milestone:
 Component:  ports                   |    Version:
Resolution:                          |   Keywords:  snowleopard
      Port:  libsdl2                 |
-------------------------------------+-------------------------
Description changed by mojca:

Old description:

> This one might be nitpicky I suppose, but it stuck me for while.
>
> libsdl2 does build and run nicely on 10.6, but indeed, as the
> instructions say "Building $name requires OS X 10.7 SDK or later"
>
> At first, I thought this was a no-go on 10.6, and it wasn't initially
> obvious to me that what was needed was to copy the MacOSX10.7.sdk from
> another machine to ${developer_dir}/SDKs/MacOSX10.7.sdk, and that only
> this exact SDK would work. Then the build on 10.6 goes fine.
>
> How about something like:
>
> error "Building $name on MacOSX 10.6 requires the MacOSX10.7.sdk to be
> present in ${developer_dir}/SDKs/"

New description:

 This one might be nitpicky I suppose, but it stuck me for while.

 libsdl2 does build and run nicely on 10.6, but indeed, as the instructions
 say "Building $name requires OS X 10.7 SDK or later"

 At first, I thought this was a no-go on 10.6, and it wasn't initially
 obvious to me that what was needed was to copy the MacOSX10.7.sdk from
 another machine to ${developer_dir}/SDKs/MacOSX10.7.sdk, and that only
 this exact SDK would work. Then the build on 10.6 goes fine.

 How about something like:

 {{{
 error "Building $name on Mac OS X 10.6 requires the MacOSX10.7.sdk to be
 present in ${developer_dir}/SDKs/"
 }}}

 Addendum my mojca: the above mentioned issue has been addressed, but let's
 turn this ticket into an effort to make the software build natively
 against 10.6 SDK.

--

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



More information about the macports-tickets mailing list