[MacPorts] #55733: lz4 fails to build on Snow Leopard

MacPorts noreply at macports.org
Mon Jan 22 23:17:39 UTC 2018


#55733: lz4 fails to build on Snow Leopard
-------------------------+---------------------------------------
  Reporter:  grumpybozo  |      Owner:
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.4.2
Resolution:              |   Keywords:  haspatch snowleopard i386
      Port:  lz4         |
-------------------------+---------------------------------------

Comment (by kencu):

 This is a manifestation of clang defaulting to add `-stdlib=libstdc++` on
 systems prior to 10.9 if no stdlib is specified on the build line.

 Your proposal will work on some systems (i.e. those like mine, which are
 set up with LibcxxOnOlderSystems), but this approach will most likely
 break on other systems, e.g. the systems that are using `PortGroup cxx11
 1.1`, which is currently the MacPorts' default method of adding c++11
 support.

 A comprehensive fix that will work on all systems is likely to be more
 complex. See `botan` for an example.

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


More information about the macports-tickets mailing list