Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jun 1998 11:19:01 +0100
From:      njs3@doc.ic.ac.uk (Niall Smart)
To:        Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>, njs3@doc.ic.ac.uk
Cc:        FreeBSD-bugs@FreeBSD.ORG, dholland@hcs.harvard.edu
Subject:   Re: bin/6828: [PATCH] make(1) does not handle embedded variable expansion
Message-ID:  <E0yhAdJ-00000m-00@kestrel.doc.ic.ac.uk>
In-Reply-To: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru> "Re: bin/6828: [PATCH] make(1) does not handle embedded variable expansion" (Jun  3,  4:03am)

next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 3,  4:03am, Dmitrij Tejblum wrote:
} Subject: Re: bin/6828: [PATCH] make(1) does not handle embedded variable e
> njs3@doc.ic.ac.uk wrote:
> 
> > Don't import the change
> > they made to the behaviour of ${.PREFIX} though (contact me for details).
> 
> Frankly, I haven't noticed any change in the behaviour. What is the 
> problem?

/usr/bin/foo.c:
	@echo ${PREFIX}

prints "/usr/bin/foo" on FreeBSD, "foo" on NetBSD.  NetBSD's behaviour
is consistent with the man page though, and you can achieve the FreeBSD
behaviour using ${.TARGET:R} so perhaps it isn't so bad after all.
David Holland pointed this out to me and I haven't thought too much
about it since.

Niall

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0yhAdJ-00000m-00>