Date: Tue, 2 Jul 2019 08:26:08 +0000 From: Alexey Dokuchaev <danfe@freebsd.org> To: Piotr Kubaj <pkubaj@anongoth.pl> Cc: Greg Lewis <glewis@freebsd.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r505640 - head/java/openjdk11 Message-ID: <20190702082607.GA45590@FreeBSD.org> In-Reply-To: <20190702072450.GA17073@KGPE-D16> References: <201907012118.x61LIIQr011692@repo.freebsd.org> <20190702072450.GA17073@KGPE-D16>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 02, 2019 at 09:24:50AM +0200, Piotr Kubaj wrote: > Why not use USES=compiler:c11 instead of setting manually USE_GCC=yes? Technically they're semantically not the same; while pulling C11-capable compiler might fix the problem, you're still telling the reader that you're pulling C11-capable compiler, while USE_GCC means that you want GCC, devoid of particular reasons. In practice, compiler:c11 often used as compiler:modern. I'd welcome this spelling: it would actually make things more clear because now people often abuse compiler:c11 or (even worse) compiler:c++11-lang for 98/99 code which gcc-4.2 cannot eat, or because one of the dependencies requires new compiler (majority of cases). ./danfe P.S. Sorry for lack of context due to prior top-posting.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190702082607.GA45590>