From owner-freebsd-ports@freebsd.org Sat Mar 18 22:17:31 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A327BD104DC for ; Sat, 18 Mar 2017 22:17:31 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8FA2818BE for ; Sat, 18 Mar 2017 22:17:31 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: by mailman.ysv.freebsd.org (Postfix) id 8C23ED104DA; Sat, 18 Mar 2017 22:17:31 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A1A0D104D9 for ; Sat, 18 Mar 2017 22:17:31 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 70B6E18BD for ; Sat, 18 Mar 2017 22:17:31 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from yv.noip.me (c-24-6-186-56.hsd1.ca.comcast.net [24.6.186.56]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id v2IMHTOP024615 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Sat, 18 Mar 2017 15:17:29 -0700 (PDT) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-24-6-186-56.hsd1.ca.comcast.net [24.6.186.56] claimed to be yv.noip.me Subject: Re: compiler:c++11-lang doesn't ensure c++11? To: Michael Gmelin References: <20170318215907.6364e561@bsd64.grem.de> Cc: "ports@freebsd.org" From: Yuri Message-ID: Date: Sat, 18 Mar 2017 15:17:27 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 MIME-Version: 1.0 In-Reply-To: <20170318215907.6364e561@bsd64.grem.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Mar 2017 22:17:31 -0000 On 03/18/2017 13:59, Michael Gmelin wrote: > Afaik this is intentional and the point is to depend on a compiler that > can support those features (hence the comments in compiler.mk: "The port > needs a compiler understanding Cxx..."), but setting CXXFLAGS > accordingly is up to the project (through cmake/configure etc.) or the > port. compiler:c++11-lang is supposed to add the flag when the compiler doesn't support c++11 by default. It is also supposed to upgrade the compiler (use the higher version from ports) when the base compiler. Am I misunderstanding the purpose of compiler:c++11-lang? Yuri