svn commit: r353296 - head/Mk/Uses

John Marino freebsd.contact at marino.st
Sun Apr 12 06:05:39 UTC 2015


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


More information about the svn-ports-all mailing list