www/aria2 dependencies & lang/llvm33 build error

Michael Gmelin freebsd at grem.de
Fri Nov 22 14:51:16 UTC 2013


On Sat, 23 Nov 2013 01:41:25 +1100
andrew clarke <mail at ozzmosis.com> wrote:

> On Fri 2013-11-22 15:37:56 UTC+0100, Michael Gmelin (freebsd at grem.de)
> wrote:
> 
> > > > I just built sudo successfully on 9.1 using system clang 3.1 and
> > > > CXX=clang++
> > > > CXXFLAGS+=-std=c++11 -stdlib=libc++
> > > 
> > > Yeah, I have no problem building sudo with clang. The sudo code
> > > is all C though, not C++.
> > 
> > Well, that was supposed to be "aria2" and not "sudo" (no idea why I
> > wrote sudo in the first place, probably multitasking when I
> > shouldn't have). A tried it specifically because it didn't build
> > about two weeks earlier due to being incompatible with C++11. So it
> > went straight from not working with C++11 to requiring C++11. Good
> > times :)
> 
> Ah.
> 
> Then the obvious question is... How did you get aria2 to build in 9.1
> when I can't get it to build in 9.2? ;-)
> 

I built 9.1 from source using:

WITH_LIBCPLUSPLUS=YES
(and later WITH_CLANG_EXTRAS=1)

(make buildworld installworld kernel)

So I've got libc++.

All ports are built using:
CC=clang
CXX=clang++
CXXFLAGS+= -std=c++11 -stdlib=libc++
CPP=clang-cpp


-- 
Michael Gmelin


More information about the freebsd-ports mailing list