Date: Fri, 30 Nov 2012 07:46:36 +0900 From: Yamaya Takashi <yamayan@kbh.biglobe.ne.jp> To: Dimitry Andric <dim@FreeBSD.org> Cc: Tobias Rehbein <tobias.rehbein@web.de>, Nikolai Lifanov <lifanov@mail.lifanov.com>, freebsd-ports@freebsd.org Subject: Re: How to handle WITH_CLANG_IS_CC in ports Message-ID: <50B7E5CC.70203@kbh.biglobe.ne.jp> In-Reply-To: <50B7D3F7.4020201@FreeBSD.org> References: <20121125114918.GA35966@oshi.local> <CAJp7RHZuB2t=QAVs3QwAqz7T%2BMbwiL1mMz8o9u0C4S%2BBKX_3Lg@mail.gmail.com> <20121127162737.GB1790@oshi.local> <CAJp7RHY17pm_FNMn6vUHELU8FPBMhC0nWKVRYNPY3FRdpULUuA@mail.gmail.com> <50B7916E.4070102@mail.lifanov.com> <50B7A0A3.8030604@kbh.biglobe.ne.jp> <20121129194701.GA3017@oshi.local> <50B7D3F7.4020201@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2012/11/30 06:30, Dimitry Andric wrote: > On 2012-11-29 20:47, Tobias Rehbein wrote:> Am Fri, Nov 30, 2012 at > 02:51:31AM +0900 schrieb Yamaya Takashi: >>> >>> Include Mk/bsd.compiler.mk, and >>> .if ${COMPILER_TYPE} == "clang" >>> clang specific code >>> .endif >>> >> >> Thanks. This is exactly what I was looking for. It is available in >> CURRENT only though. > > FYI, I merged bsd.compiler.mk and the rest of the COMPILER_TYPE logic to > stable/9 in r243041. It will not be in 9.1-RELEASE, though... > I am NOT committer. Please commit Mk/bsd.compiler.mk. [usr/ports/]Mk/bsd.compiler.mk is differ from [usr/src/]share/mk/bsd.compiler.mk. Ports version accepts another compiler, e.g. CC=icc, but Base version not.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50B7E5CC.70203>