On Wed, May 06, 2009 at 05:40:41PM +0200, Mel Flynn wrote:
On Wednesday 06 May 2009 11:31:17 Anton Shterenlikht wrote:
I'm trying to build gcc43 on alpha 6.4.
In /usr/ports/lang/gcc43/Makefile I have:
# grep NOT_FOR_ARCHS /usr/ports/lang/gcc43/Makefile
NOT_FOR_ARCHS= alpha ia64
I've this simple makefile:
VAR=one
all : main
main:
@echo ${.CURDIR}
.if ${.CURDIR}
@echo ${VAR}
VAR=two
@echo ${VAR}
.endif
When I output VAR second time, the value is still one, and not the
new value two. Why?
% make
/usr/home/mexas
one
VAR=two
On Wednesday 06 May 2009 10:31:53 Anton Shterenlikht wrote:
I've this simple makefile:
VAR=one
all : main
main :
@echo ${.CURDIR}
.if ${.CURDIR}
@echo ${VAR}
VAR=two
@echo ${VAR}
.endif
When I output VAR second time, the value is still one, and not
On Wed, May 06, 2009 at 11:15:07AM +0200, Mel Flynn wrote:
On Wednesday 06 May 2009 10:31:53 Anton Shterenlikht wrote:
I've this simple makefile:
VAR=one
all : main
main:
@echo ${.CURDIR}
.if ${.CURDIR}
@echo ${VAR}
VAR=two
@echo ${VAR}
On Wednesday 06 May 2009 11:31:17 Anton Shterenlikht wrote:
I'm trying to build gcc43 on alpha 6.4.
In /usr/ports/lang/gcc43/Makefile I have:
# grep NOT_FOR_ARCHS /usr/ports/lang/gcc43/Makefile
NOT_FOR_ARCHS= alpha ia64 powerpc
#
In /etc/make.conf I have:
.if ${.CURDIR:M*/lang/gcc43*}