Date: Fri, 09 Jan 2009 11:18:09 -0500 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Anton Shterenlikht <mexas@bristol.ac.uk> Cc: freebsd-questions@freebsd.org Subject: Re: ports tree build ignores /etc/make.conf Message-ID: <44wsd4wj0e.fsf@be-well.ilk.org> In-Reply-To: <20090108123259.GA69018@mech-cluster238.men.bris.ac.uk> (Anton Shterenlikht's message of "Thu\, 8 Jan 2009 12\:32\:59 %2B0000") References: <20090108123259.GA69018@mech-cluster238.men.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Anton Shterenlikht <mexas@bristol.ac.uk> writes: > I have: > > # uname -srm > FreeBSD 6.4-STABLE alpha > # > > In /etc/make.conf I have > > .if ${.CURDIR:M*/lang/gcc*} > NOT_FOR_ARCHS= > .endif > > However, I get: > > # cd /usr/ports/lang/gcc43 > # make > ===> gcc-4.3.3_20090101 does not run on alpha ia64, while you are running alpha. > *** Error code 1 > > Stop in /usr/ports/lang/gcc43. > # > > So it seems make ignores NOT_FOR_ARCHS= setting. > When I add this to the gcc43/Makefile directly, build > goes ahead. > > What's the problem? The port's makefile is overriding the setting you put in make.conf. That variable is intended for use in ports, not by end-users (otherwise, the port makefile would use a different assignment operator to avoid overwriting existing settings). If you really think you can fix the build for that architecture, you should be modifying the original makefile. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44wsd4wj0e.fsf>