From owner-cvs-all Wed Jul 4 12: 6:15 2001 Delivered-To: cvs-all@freebsd.org Received: from london.physics.purdue.edu (london.physics.purdue.edu [128.210.67.35]) by hub.freebsd.org (Postfix) with ESMTP id 0625637B408; Wed, 4 Jul 2001 12:06:08 -0700 (PDT) (envelope-from will@physics.purdue.edu) Received: from bohr.physics.purdue.edu (bohr.physics.purdue.edu [128.210.67.12]) by london.physics.purdue.edu (8.8.8/8.8.8) with ESMTP id OAA23379; Wed, 4 Jul 2001 14:06:07 -0500 (EST) Received: by bohr.physics.purdue.edu (Postfix, from userid 12409) id 430AA5BB5; Wed, 4 Jul 2001 14:06:08 -0500 (EST) Date: Wed, 4 Jul 2001 14:06:08 -0500 From: Will Andrews To: Maxim Sobolev 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> Reply-To: Will Andrews Mail-Followup-To: Maxim Sobolev , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <200107041829.f64ITmM95778@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.17i In-Reply-To: <200107041829.f64ITmM95778@freefall.freebsd.org>; from sobomax@FreeBSD.org on Wed, Jul 04, 2001 at 11:29:48AM -0700 X-Operating-System: FreeBSD 4.3-STABLE i386 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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