Date: Thu, 5 Jul 2001 10:49:05 +0300 (EEST) From: Maxim Sobolev <sobomax@FreeBSD.ORG> To: will@physics.purdue.edu Cc: sobomax@FreeBSD.ORG (Maxim Sobolev), cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: ports/Mk bsd.gnome.mk Message-ID: <200107050750.f657oPs41091@vega.vega.com> In-Reply-To: <20010704140608.R97456@bohr.physics.purdue.edu> from "Will Andrews" at Jul 04, 2001 02:06:08 PM
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 ^ - there should be 2 spaces or more. -Maxim > > 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?200107050750.f657oPs41091>