From owner-svn-ports-all@FreeBSD.ORG Thu Sep 12 17:02:54 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B347B9DE; Thu, 12 Sep 2013 17:02:54 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9FB4720E2; Thu, 12 Sep 2013 17:02:54 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8CH2saf067812; Thu, 12 Sep 2013 17:02:54 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8CH2sb2067811; Thu, 12 Sep 2013 17:02:54 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201309121702.r8CH2sb2067811@svn.freebsd.org> From: Baptiste Daroussin Date: Thu, 12 Sep 2013 17:02:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327090 - head/devel/llvm X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Sep 2013 17:02:54 -0000 Author: bapt Date: Thu Sep 12 17:02:54 2013 New Revision: 327090 URL: http://svnweb.freebsd.org/changeset/ports/327090 Log: Fix build with clang+libc++ by enforcing the c++11 standard if the compiler is clang Modified: head/devel/llvm/Makefile Modified: head/devel/llvm/Makefile ============================================================================== --- head/devel/llvm/Makefile Thu Sep 12 16:55:27 2013 (r327089) +++ head/devel/llvm/Makefile Thu Sep 12 17:02:54 2013 (r327090) @@ -1,9 +1,5 @@ -# New ports collection makefile for: llvm -# Date created: 20 Nov 2005 -# Whom: Hye-Shik Chang -# +# Created by: Hye-Shik Chang # $FreeBSD$ -# PORTNAME= llvm PORTVERSION= 3.2 @@ -26,11 +22,15 @@ BUILD_DEPENDS+= f2c:${PORTSDIR}/lang/f2c CONFLICTS= llvm-devel-[23]* llvm31-3* GNU_CONFIGURE= yes -USE_GMAKE= yes +USES= gmake perl5 USE_LDCONFIG= yes -USE_PERL5= yes USE_PYTHON_BUILD= yes +_CCVERSION= ${CC} --version +.if ${_CCVERSION:Mclang} +USE_CXXSTD= c++11 +.endif + # Suggested tweaks from http://llvm.org/docs/Packaging.html CONFIGURE_ARGS+= --enable-shared MAKE_ARGS+= REQUIRES_RTTI=1