From owner-svn-ports-all@FreeBSD.ORG Sun Apr 12 06:05:39 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 12F5636F; Sun, 12 Apr 2015 06:05:39 +0000 (UTC) Received: from shepard.synsport.net (mail.synsport.com [208.69.230.148]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 354ECEE0; Sun, 12 Apr 2015 06:05:38 +0000 (UTC) Received: from [192.168.1.22] (159.Red-79-148-64.dynamicIP.rima-tde.net [79.148.64.159]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by shepard.synsport.net (Postfix) with ESMTP id 5769F43BB9; Sun, 12 Apr 2015 01:05:29 -0500 (CDT) Message-ID: <552A0B26.7080104@marino.st> Date: Sun, 12 Apr 2015 08:05:26 +0200 From: John Marino Reply-To: marino@freebsd.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Gerald Pfeifer , Baptiste Daroussin Subject: Re: svn commit: r353296 - head/Mk/Uses References: <201405081332.s48DWCYJ020883@svn.freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Apr 2015 06:05:39 -0000 On 4/12/2015 03:08, Gerald Pfeifer wrote: > On Thu, 8 May 2014, Baptiste Daroussin wrote: >> Log: >> Add a USES to handle objective C (chosing compiler adding the right dependency on the runtime library) >> >> Added: >> head/Mk/Uses/objc.mk (contents, props changed) > > This is duplicating a lot of code. Is there a way to have > Uses/objc.mk set something and then have Uses/compiler.mk > do the job? > > Similarly for Uses/fortran.mk from what I remember. > > Gerald > > PS: Yes, this has been a while ago. Backlog getting shorter. :-/ > Moveover, objc.mk is buggy. It is busted if system clang is not installed. CC gets defined as ${LOCALBASE}/bin/clang34 so the earlier check ${CC} --version will fail if run in an environment where clang34 package is not installed. John