[MacPorts] #40494: aria2 1.18.0 vs C++11
#40494: aria2 1.18.0 vs C++11 ----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: ----------------------------+-------------------------------- While running configure on aria2 1.18.0 under Snow Leopard I get the following error: {{{ :info:configure checking whether /usr/bin/clang++ supports C++11 features by default... no :info:configure checking whether /usr/bin/clang++ supports C++11 features with -std=c++11 ... no :info:configure checking whether /usr/bin/clang++ supports C++11 features with -std=c++11 -stdlib=libc++... no :info:configure checking whether /usr/bin/clang++ supports C++11 features with -std=c++0x ... no :info:configure checking whether /usr/bin/clang++ supports C++11 features with -std=c++0x -stdlib=libc++... no :info:configure configure: error: *** A compiler with support for C++11 language features is required. }}} Need to set compiler dependency to gcc > 4.6.x or clang 3.3? -- Ticket URL: <https://trac.macports.org/ticket/40494> MacPorts <http://www.macports.org/> Ports system for OS X
#40494: aria2 1.18.0 vs C++11 -----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: | -----------------------------+-------------------------------- Comment (by egall@…):
Need to set compiler dependency to gcc > 4.6.x or clang 3.3?
I think using a `compiler.blacklist` would be the right thing to do here... -- Ticket URL: <https://trac.macports.org/ticket/40494#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40494: aria2 @1.18.0: requires C++11 support -----------------------------+------------------- Reporter: mschamschula@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: aria2 | -----------------------------+------------------- Changes (by larryv@…): * owner: macports-tickets@… => mww@… * cc: jeremyhu@… (added) * port: => aria2 -- Ticket URL: <https://trac.macports.org/ticket/40494#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40494: aria2 @1.18.0: requires C++11 support -----------------------------+------------------- Reporter: mschamschula@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: aria2 | -----------------------------+------------------- Comment (by jeremyhu@…): sigh ... looking at its dependencies and description, it looks like it's an application (should probably have "installs_libs no") with no C++ dependencies. Thus it might be ok to just "force" libc++ with: {{{ if {[info exists configure.cxx_stdlib]} { configure.cxx_stdlib libc++ } else { configure.blacklist *gcc* configure.cxxflags-append -stdlib=libc++ } }}} Note that we'll run into the same revupgrade issue that cal mentioned on macports-dev for textmate. -- Ticket URL: <https://trac.macports.org/ticket/40494#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40494: aria2 @1.18.0: requires C++11 support -----------------------------+------------------- Reporter: mschamschula@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: aria2 | -----------------------------+------------------- Comment (by mschamschula@…): FYI: I just successfully (manually) built aria2 1.18.1 using gcc 4.8.2 under Mavericks. -- Ticket URL: <https://trac.macports.org/ticket/40494#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts