Re: two buildworld problems

From: Alexander Best <alexbestms_at_uni-muenster.de>
Date: Tue, 15 Jun 2010 13:11:31 +0200
2010/6/15 Dag-Erling Smørgrav <des_at_des.no>:
> Alexander Best <alexbestms_at_uni-muenster.de> writes:
>> Dag-Erling Smørgrav <des_at_des.no> writes:
>> > Alexander Best <alexbestms_at_uni-muenster.de> 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/freebsd-current_at_freebsd.org/msg122986.html
[2] http://www.mail-archive.com/freebsd-current_at_freebsd.org/msg122975.html

cheers.
alex

>
> DES
> --
> Dag-Erling Smørgrav - des_at_des.no
>



-- 
Alexander Best
Received on Tue Jun 15 2010 - 09:11:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC