overwriting NOT_FOR_ARCHS via /etc/make.conf has no effect

Anton Shterenlikht mexas at bristol.ac.uk
Mon Jan 26 04:55:55 PST 2009


I'm trying to overwrite a Makefile variable via /etc/make.conf
It doesn't seem to work:

# cd /usr/ports/lang/gcc43
# grep NOT Makefile
NOT_FOR_ARCHS=  alpha ia64
# grep -C1 NOT /etc/make.conf
.if ${.CURDIR:M*/lang/gcc4*}
NOT_FOR_ARCHS= ia64
.endif
# make
===>  gcc-4.3.3_20090122 does not run on alpha ia64, while you are running alpha.
*** Error code 1

Stop in /usr/ports/lang/gcc43.
# 

What am I doing wrong?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423


More information about the freebsd-questions mailing list