From owner-freebsd-bugs Wed Jun 3 03:19:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA14696 for freebsd-bugs-outgoing; Wed, 3 Jun 1998 03:19:13 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from heron.doc.ic.ac.uk (4uX/N/4xrIq6b7iP/DfnWZkKBcG2sDgW@heron.doc.ic.ac.uk [146.169.46.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id DAA14691 for ; Wed, 3 Jun 1998 03:19:11 -0700 (PDT) (envelope-from njs3@doc.ic.ac.uk) Received: from kestrel.doc.ic.ac.uk [146.169.46.6] ([lXVXPB3l6PfUzEzTfQV7GRD0Fqt4zvoA]) by heron.doc.ic.ac.uk with smtp (Exim 1.62 #3) id 0yhAdK-00013i-00; Wed, 3 Jun 1998 11:19:02 +0100 Received: from njs3 by kestrel.doc.ic.ac.uk with local (Exim 1.62 #1) id 0yhAdJ-00000m-00; Wed, 3 Jun 1998 11:19:01 +0100 From: njs3@doc.ic.ac.uk (Niall Smart) Date: Wed, 3 Jun 1998 11:19:01 +0100 In-Reply-To: Dmitrij Tejblum "Re: bin/6828: [PATCH] make(1) does not handle embedded variable expansion" (Jun 3, 4:03am) X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: Dmitrij Tejblum , njs3@doc.ic.ac.uk Subject: Re: bin/6828: [PATCH] make(1) does not handle embedded variable expansion Cc: FreeBSD-bugs@FreeBSD.ORG, dholland@hcs.harvard.edu Message-Id: Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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