From owner-freebsd-ports@FreeBSD.ORG Thu Nov 29 21:30:29 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2EEEB285 for ; Thu, 29 Nov 2012 21:30:29 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id D98F48FC13 for ; Thu, 29 Nov 2012 21:30:28 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:7ce7:996c:e955:4ab6] (unknown [IPv6:2001:7b8:3a7:0:7ce7:996c:e955:4ab6]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 51C6A5C37; Thu, 29 Nov 2012 22:30:27 +0100 (CET) Message-ID: <50B7D3F7.4020201@FreeBSD.org> Date: Thu, 29 Nov 2012 22:30:31 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Tobias Rehbein Subject: Re: How to handle WITH_CLANG_IS_CC in ports References: <20121125114918.GA35966@oshi.local> <20121127162737.GB1790@oshi.local> <50B7916E.4070102@mail.lifanov.com> <50B7A0A3.8030604@kbh.biglobe.ne.jp> <20121129194701.GA3017@oshi.local> In-Reply-To: <20121129194701.GA3017@oshi.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Nikolai Lifanov , freebsd-ports@freebsd.org, Yamaya Takashi X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2012 21:30:29 -0000 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...