From owner-freebsd-ports@freebsd.org Thu Jun 16 12:10:46 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 BABF4A71833 for ; Thu, 16 Jun 2016 12:10:46 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id A20901979 for ; Thu, 16 Jun 2016 12:10:46 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9DDF7A71831; Thu, 16 Jun 2016 12:10:46 +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 9D627A7182E for ; Thu, 16 Jun 2016 12:10:46 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (prod2.absolight.net [79.143.243.136]) (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 65B811975; Thu, 16 Jun 2016 12:10:46 +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 04A46BDC95; Thu, 16 Jun 2016 14:10:44 +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 DB111BDC8E; Thu, 16 Jun 2016 14:10:43 +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 0A3626119; Thu, 16 Jun 2016 14:10:42 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by ogg.in.absolight.net (Postfix) with ESMTP id 36A512A7E218; Thu, 16 Jun 2016 14:10:42 +0200 (CEST) Date: Thu, 16 Jun 2016 14:10:41 +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: <44B29C67AD8CACB1CE4335E3@ogg.in.absolight.net> In-Reply-To: <68938eb6-daef-7300-526a-1b501af51bf2@rawbw.com> References: <68938eb6-daef-7300-526a-1b501af51bf2@rawbw.com> 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="==========64BE9A817B0BEACC0AB6==========" 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:10:46 -0000 --==========64BE9A817B0BEACC0AB6========== Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline +--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. -- Mathieu Arnold --==========64BE9A817B0BEACC0AB6========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQJ8BAEBCgBmBQJXYpdBXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85I/pAQAJriOlZc/MdgrU/nmxOEmdfG ckFaPUnv2LceXKC64hNfHWJ34/LYHVG0mATMp1uEZQPua2nyafzh+9ofC2I8TvRI e67tMlY62zCq6tmAaazJLEEpYG7+KoEhhDJAvoE9p3+s3k5ZocMGSQLhUyeIoUX9 HtipwTW/Go7+23vgIglLe8NyDzYnQWTkfzoSA/4ahj+h+9/nipQF/aQVnpRVCvEC S1KMSFoTk5fmnuelWCplfNEf1GYOBr5CmpcyKXrkzw1RPs0QoJN2Qq7gNbmQr6kl 40FTyjjTT9WRjxCV/mr+vwM8/XUIw7wn0YI7yI5EAiausAqXGUw/Kuh4iBvozWt9 Qzuljq8dKgYCOe/t0ufTEz25W6qs1VHG6JAk4vgb/3UsKAtmrbMC/QrnyiGTybjR Utvtttidjc21MEptaAErP2uB943q1G7OEi8V9yaY3LTy+BSJ/342kgXvo+3/TYhs Js9MXWobr3yQQ/sW+4KV3e8LmKT81gu15YuUaZBP6yRphceuLbcd+93lBm4yMpKx efTzx0tI5Ek4Pg39SvMhbcq5GtWs7nRnAhB7TlbYZLidZfxOGyVTH3CLdYlNwqE+ 5mmbgT/R/5s4PIlykdBMRVQ8VR/7+f5ttnHd1emmpYs3FPaHzKjmviyR4DC1czmp m9HygjJItg7P08Yn54k3 =U/3+ -----END PGP SIGNATURE----- --==========64BE9A817B0BEACC0AB6==========--