[MacPorts] #52002: lilypond build fails due to missing reference to libc++ on some Darwin systems - fix attached
MacPorts
noreply at macports.org
Tue Aug 16 21:44:46 PDT 2016
#52002: lilypond build fails due to missing reference to libc++ on some Darwin
systems - fix attached
-------------------------------------+--------------------
Reporter: kenneth.f.cunningham@… | Owner: snc@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: fixed | Keywords:
Port: lilypond |
-------------------------------------+--------------------
Changes (by ryandesign@…):
* cc: ryandesign@… (added)
Old description:
> Lily pond fails to build on Snow Leopard with the
> <https://trac.macports.org/wiki/LibcxxOnOlderSystems> upgrade, due to
> missing reference to libc++. Failed build log attached. Fix Portfile diff
> also attached, that add reference to libc++ on Darwin Mountain Lion and
> lower with configure.cxx_stdlib=libc++
New description:
Lily pond fails to build on Snow Leopard with the LibcxxOnOlderSystems
upgrade, due to missing reference to libc++. Failed build log attached.
Fix Portfile diff also attached, that add reference to libc++ on Darwin
Mountain Lion and lower with configure.cxx_stdlib=libc++
--
Comment:
Can anyone explain why `-lc++` is used here instead of the more usual
`-stdlib=libc++`?
Indeed, does this need to be specific to darwin or libc++? Why not just:
{{{
configure.ldflags-append -stdlib=${configure.cxx_stdlib}
}}}
Has anyone reported this problem to the developers of lilypond so they can
fix it in their sources? MacPorts sets `-stdlib=whatever` in CXXFLAGS,
lilypond just seems to be neglecting to use the CXXFLAGS variable when
linking C++ code.
--
Ticket URL: <https://trac.macports.org/ticket/52002#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list