[MacPorts] #49709: cmake, gnuradio, gr-foo, gr-ieee802-11, gr-ieee802-15-4, volk: just use cxx11 1.0 portgroup
MacPorts
noreply at macports.org
Wed Dec 2 21:50:58 PST 2015
#49709: cmake, gnuradio, gr-foo, gr-ieee802-11, gr-ieee802-15-4, volk: just use
cxx11 1.0 portgroup
-------------------------------------------------+-------------------------
Reporter: ryandesign@… | Owner: michaelld@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords: haspatch
Port: cmake gnuradio gr-foo gr- |
ieee802-11 gr-ieee802-15-4 volk |
-------------------------------------------------+-------------------------
Comment (by mojca@…):
A tiny note about CMake.
This change might conflict with
{{{
platform darwin {
# TODO: Figure out why using libc++ fails on Lion and fix the
bootstrap
# script to honor CMAKE_OSX_SYSROOT and
CMAKE_OSX_DEPLOYMENT_TARGET.
# Since nothing links against cmake and cmake is just using the
STL,
# we're safe to force libstdc++
#
# https://www.cmake.org/Bug/view.php?id=15039&nbn=16
if {${os.major} < 12} {
configure.cxx_stdlib libstdc++
}
}
}}}
Note that `libstdc++` is not really needed, but due to a bug in `clang`
shipped with Lion one cannot use the system `clang++` with `libc++`. Just
make sure that if `libc++` is used, `clang 425` gets blacklisted and
replaced by `macports-clang-3.4` or later.
--
Ticket URL: <https://trac.macports.org/ticket/49709#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list