svn commit: r355454 - head/lang/gcc410

Gerald Pfeifer gerald at pfeifer.com
Mon May 26 23:15:25 UTC 2014


On Mon, 26 May 2014, Baptiste Daroussin wrote:
>> +.if exists(/usr/bin/clang) && ${ARCH} == "amd64"
>> +USE_GCC=	yes
>> +.endif
> ARCH is only defined after bsd.port.options.mk or bsd.port.pre.mk

Good catch, Baptiste!

Why does the fix still work then, though?  (Before the patch my
builds on 10.0/amd64 failed, now they work.)

I'm not arguing (testing a fix right now), just trying to understand 
this properly.  If the condition is invald (because ${ARCH} is not set), 
shouldn't the if-statement default to false?

Gerald


More information about the svn-ports-all mailing list