From owner-freebsd-ports@FreeBSD.ORG Fri Nov 22 14:51:16 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9753262E for ; Fri, 22 Nov 2013 14:51:16 +0000 (UTC) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id DE24F293C for ; Fri, 22 Nov 2013 14:51:15 +0000 (UTC) Received: (qmail 86197 invoked by uid 89); 22 Nov 2013 14:51:14 -0000 Received: from unknown (HELO bsd64.grem.de) (mg@grem.de@194.97.158.66) by mail.grem.de with ESMTPA; 22 Nov 2013 14:51:14 -0000 Date: Fri, 22 Nov 2013 15:51:14 +0100 From: Michael Gmelin To: andrew clarke Subject: Re: www/aria2 dependencies & lang/llvm33 build error Message-ID: <20131122155114.48d3f79c@bsd64.grem.de> In-Reply-To: <20131122144124.GA39924@ozzmosis.com> References: <20131116132213.GA95852@ozzmosis.com> <20131117110145.GA63272@ozzmosis.com> <20131117141502.5c203a99@bsd64.grem.de> <20131122142055.GA36109@ozzmosis.com> <20131122153756.02e2c9d2@bsd64.grem.de> <20131122144124.GA39924@ozzmosis.com> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.18; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Nov 2013 14:51:16 -0000 On Sat, 23 Nov 2013 01:41:25 +1100 andrew clarke wrote: > On Fri 2013-11-22 15:37:56 UTC+0100, Michael Gmelin (freebsd@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