[MacPorts] #50678: makeicns does not build on Snow Leopard with libc++

MacPorts noreply at macports.org
Thu Mar 3 23:47:30 PST 2016


#50678: makeicns does not build on Snow Leopard with libc++
-----------------------------+-------------------------
  Reporter:  steven.dwyer@…  |      Owner:  mk@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.3.4
Resolution:                  |   Keywords:  snowleopard
      Port:  makeicns        |
-----------------------------+-------------------------

Comment (by mojca@…):

 An (utopic?) idea from [wiki:soc2007/epimenov#SDKredirection]:
 > Tracelib can map `/` to SDK dir.
 >
 > Example: We building port with SDK MacOSX10.2.8.sdk. gcc wants to use
 `/usr/include/stdio.h` and calls `open(/usr/include/stdio.h)`, but
 tracelib returns
 `open(/Developer/SDKs/MacOSX10.2.8.sdk/usr/include/stdio.h`).

 I have no clue whether that is or has ever been working, but if this is
 theoretically possible, one could reverse logic and when a port asks for
 `libc++`, trace mode could redirect from SDK to `$prefix`.

 This is just wild brainstorming, unlikely to work, but who knows ...

 In order to fix this particular problem though: is anyone willing to
 (conditionally or unconditionally) add something like
 {{{
 build.env-append SDK=""
 }}}
 to the port to let it build on 10.6/libc++?

-- 
Ticket URL: <https://trac.macports.org/ticket/50678#comment:18>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list