Anton Shterenlikht <me...@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/ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"