From owner-freebsd-ports@freebsd.org Thu Jun 16 12:25:52 2016 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 1F8E0A470CA for ; Thu, 16 Jun 2016 12:25:52 +0000 (UTC) (envelope-from mat@FreeBSD.org) 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 056511659 for ; Thu, 16 Jun 2016 12:25:52 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 00DADA470C8; Thu, 16 Jun 2016 12:25:52 +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 00799A470C5 for ; Thu, 16 Jun 2016 12:25:52 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BFF201657; Thu, 16 Jun 2016 12:25:51 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id 3C820BDC8E; Thu, 16 Jun 2016 14:25:50 +0200 (CEST) Received: from gw.in.absolight.net (gw-ecl.in.absolight.net [79.143.241.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gw.in.absolight.net", Issuer "CA Cert Signing Authority" (not verified)) by prod2.absolight.net (Postfix) with ESMTPSA id 1CDF4BDC87; Thu, 16 Jun 2016 14:25:50 +0200 (CEST) Received: from ogg.in.absolight.net (ogg.in.absolight.net [79.143.241.239]) by gw.in.absolight.net (Postfix) with ESMTP id 83CCC6127; Thu, 16 Jun 2016 14:25:49 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by ogg.in.absolight.net (Postfix) with ESMTP id 3A4BC2A7E630; Thu, 16 Jun 2016 14:25:49 +0200 (CEST) Date: Thu, 16 Jun 2016 14:25:48 +0200 From: Mathieu Arnold To: Yuri , ports@freebsd.org cc: portmgr@FreeBSD.org Subject: Re: USES=compiler:c++14-lang still adds -std=c++11 to CXXFLAGS Message-ID: In-Reply-To: <44B29C67AD8CACB1CE4335E3@ogg.in.absolight.net> References: <68938eb6-daef-7300-526a-1b501af51bf2@rawbw.com> <44B29C67AD8CACB1CE4335E3@ogg.in.absolight.net> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="==========88467DF1BB98111E4B0B==========" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2016 12:25:52 -0000 --==========88467DF1BB98111E4B0B========== Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline +--On 16 juin 2016 14:10:41 +0200 Mathieu Arnold wrote: | | | +--On 15 juin 2016 11:26:57 -0700 Yuri wrote: || I have a port that needs c++14. USES statements are like this: || || USES= compiler:c++14-lang gmake qmake || USE_QT5= core gui network || || Yet, compiler command lines still have -std=c++11, and build fails || because of the lack of c++14 support. || || What is wrong? I think this is a bug in /usr/ports/Mk/Uses/compiler.mk | | As far as I can see, you need to add USE_CSTD=c++14 to your port Makefile. Mmmm, maybe USE_CXXSTD=c++14. -- Mathieu Arnold --==========88467DF1BB98111E4B0B========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQJ8BAEBCgBmBQJXYprMXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85I5hEQAJVSIrduCL8/qLespypGY398 GyoYNR2OpxsIoljd+5DZE2Yl7p8AW1x4Wruq/atVWILxbFr6OU9Gn5x+1BbBjJ6x h2Y50DUlOgcXT0ZH+GYxaFh6VGJwP9srWVK4HKvh6aTGVZGK0Ka4BcBXfux53DK9 uVdqXF9BuDNUDZtxHpwZ08n2oCFEkZttRRON9/5fp39jBKYUx59vl6fqWAV1QoUh krY8Ji2jd7YXXLck0jWQc4oicfMDg/QOS4il5K1jFozb3EtbM2YWUyUOD1Z6MnDb 7LInOO7MgCqM2su8v0G3MmmDy34woHyxDuioX7YCy80AqA/GfXGnq0BNa/Kebpwx CY9VCs5WlCA7e4axuXG9dFKoJ2v0TfsWmJmTE+MP9SnyPtyy93ZS0HeFJEQ6y133 7llxRhChcJ73xD7QiI/xVvmRtPzlsO0vWtJJ4HNENp/bB5lxVLfAvIFKXm2BNrdS ZP+04hoWgAb6NulabUTLYfezSfpBwUkj9eewBXwhQQU0P5MqYEYZniQvmq/eGh/A ktm4ebRWkg29hsjnD157rxh2dViH0PcVH1Dp+VBw5d4x4sQc8f2sILvg6zrlMbsh wMfNM1ImSVlu/sybC5w/1xHpgW1szvkTP06ssPxJrWs7EQAZAXBGIws+ykoailp7 vf0OyuJyyp4OUE5BNHsc =QQ0M -----END PGP SIGNATURE----- --==========88467DF1BB98111E4B0B==========--