From owner-freebsd-ports@FreeBSD.ORG Mon Nov 26 15:50:40 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 052F3BC for ; Mon, 26 Nov 2012 15:50:40 +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 ACDA28FC15 for ; Mon, 26 Nov 2012 15:50:39 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:5996:6a9e:9a88:4013] (unknown [IPv6:2001:7b8:3a7:0:5996:6a9e:9a88:4013]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 4A7005C37; Mon, 26 Nov 2012 16:50:38 +0100 (CET) Message-ID: <50B38FCC.4050902@FreeBSD.org> Date: Mon, 26 Nov 2012 16:50:36 +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: Nikolai Lifanov Subject: Re: How to handle WITH_CLANG_IS_CC in ports References: <20121125114918.GA35966@oshi.local> <50B23382.3030600@FreeBSD.org> <50B387BB.3000502@mail.lifanov.com> In-Reply-To: <50B387BB.3000502@mail.lifanov.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Tobias Rehbein , freebsd-ports@freebsd.org 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: Mon, 26 Nov 2012 15:50:40 -0000 On 2012-11-26 16:16, Nikolai Lifanov wrote: > On 11/25/2012 10:04 AM, Dimitry Andric wrote: >> On 2012-11-25 12:49, Tobias Rehbein wrote: ... >> Just check if OSVERSION >= 1000024, maybe? Or add some logic to >> bsd.port.mk that handles this, like was done with pkgng. For example, >> introducing a PORTS_COMPILER_TYPE macro like in base. > > This is bad. > People with OSVERSION >= 1000024 and WITHOUT_CLANG_IS_CC set will be > left out. Well, this was just a simple example, I'm sure you can figure out a zillion interesting ways to do this. :-)