Date: Wed, 4 Jul 2001 14:06:08 -0500 From: Will Andrews <will@physics.purdue.edu> To: Maxim Sobolev <sobomax@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/Mk bsd.gnome.mk Message-ID: <20010704140608.R97456@bohr.physics.purdue.edu> In-Reply-To: <200107041829.f64ITmM95778@freefall.freebsd.org>; from sobomax@FreeBSD.org on Wed, Jul 04, 2001 at 11:29:48AM -0700 References: <200107041829.f64ITmM95778@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 04, 2001 at 11:29:48AM -0700, Maxim Sobolev (sobomax@FreeBSD.org) wrote: > Modified files: > Mk bsd.gnome.mk > Log: > Workarround a bug in make(1) that leads results in --datadir/--localstatedir > not being set properly for some ports. The problem is that ":S" modifier > collapses spaces, even if the regex doesn't match. The following piece of > make(1) "code" illustrates the problem: > > foo= a b > > .if ${foo} != ${foo:S/x//} > all: > @${ECHO} 'BAD!' > .endif Interesting: (14:03:58) [will@puck ~]% cat .tmpMak && make -f .tmpMak foo= a b all: .if ${foo} != ${foo:S/x//} @echo 'BAD!' .else @echo 'GOOD!' .endif GOOD! -- wca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010704140608.R97456>