2010/6/15 Dag-Erling Smørgrav <[email protected]>:
> Alexander Best <[email protected]> writes:
>> Dag-Erling Smørgrav <[email protected]> writes:
>> > Alexander Best <[email protected]> writes:
>> > > .if empty(.CURDIR:M/usr/src/*) && empty(.CURDIR:M/usr/obj/*) &&
>> > > exists(/usr/local/bin/gcc44)
>> > > CC = gcc44
>> > > CXX = g++44
>> > > CPP = cpp44
>> > > .endif
>> > What happens when .CURDIR = /usr/src?
>> i'm now using [...]
>
> I was trying to show you why what you had didn't work...

sorry. i didn't mean to affend you. doug barton already pointed out
that what i had in my make.conf beforehand won't work unless /usr/src
and /usr/obj are literal directories in /usr [1].

here's the error ouput i got with

.if empty(.CURDIR:M/usr/src/*) && empty(.CURDIR:M/usr/obj/*) &&
exists(/usr/local/bin/gcc44)
CC = gcc44
CXX = g++44
CPP = cpp44
.endif

in my make.conf: [2]


[1] http://www.mail-archive.com/[email protected]/msg122986.html
[2] http://www.mail-archive.com/[email protected]/msg122975.html

cheers.
alex

>
> DES
> --
> Dag-Erling Smørgrav - [email protected]
>



-- 
Alexander Best
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[email protected]"

Reply via email to