Date: Tue, 27 May 2014 01:06:30 +0200 (CEST) From: Gerald Pfeifer <gerald@pfeifer.com> To: Baptiste Daroussin <bapt@FreeBSD.org> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Gerald Pfeifer <gerald@FreeBSD.org>, ports-committers@freebsd.org Subject: Re: svn commit: r355454 - head/lang/gcc410 Message-ID: <alpine.LSU.2.11.1405270010020.8067@tuna.site> In-Reply-To: <20140526211922.GD20327@ivaldir.etoilebsd.net> References: <201405262111.s4QLBdiW073907@svn.freebsd.org> <20140526211922.GD20327@ivaldir.etoilebsd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.LSU.2.11.1405270010020.8067>