Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 2015 08:05:26 +0200
From:      John Marino <freebsd.contact@marino.st>
To:        Gerald Pfeifer <gerald@pfeifer.com>, Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r353296 - head/Mk/Uses
Message-ID:  <552A0B26.7080104@marino.st>
In-Reply-To: <alpine.LSU.2.20.1504120307020.9357@tuna.site>
References:  <201405081332.s48DWCYJ020883@svn.freebsd.org> <alpine.LSU.2.20.1504120307020.9357@tuna.site>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?552A0B26.7080104>