Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2007 12:07:20 -0500
From:      Stephen Montgomery-Smith <stephen@math.missouri.edu>
To:        Stephen Montgomery-Smith <stephen@math.missouri.edu>,  Joe Marcus Clarke <marcus@marcuscom.com>, gnome@freebsd.org,  pav@freebsd.org,  freebsd-ports@freebsd.org,  Kris Kennaway <kris@obsecurity.org>
Subject:   Re: More speed increases for make-ing ports
Message-ID:  <465717C8.40803@math.missouri.edu>
In-Reply-To: <20070524200146.GA1516@roadrunner.q.local>
References:  <20070522165525.S52261@math.missouri.edu>	<1179871899.83498.10.camel@ikaros.oook.cz>	<20070522172627.A52261@math.missouri.edu>	<465398E0.40404@math.missouri.edu>	<1179907804.60308.1.camel@pav.hide.vol.cz>	<4654E491.5000700@math.missouri.edu>	<1179995317.66903.17.camel@pav.hide.vol.cz>	<46558678.3020704@math.missouri.edu>	<1180023393.10757.29.camel@shumai.marcuscom.com>	<4655D835.3080709@math.missouri.edu> <20070524200146.GA1516@roadrunner.q.local>

next in thread | previous in thread | raw e-mail | index | archive | help
Ulrich Spoerlein wrote:
> Stephen Montgomery-Smith wrote:
>> That makes perfect sense.  It does look like you had to work around a bug in make.  I have 
>> actually looked at the code in make where it does the :M (it is the function Str_Match is 
>> str.c) and this bug has clearly been fixed now.
> 
> The question is: Has it been fixed in all Branches that are currently
> supported by the Ports tree? What about 5.x?
> 
> Ulrich Spoerlein

I looked through the cvs logs for make, and I couldn't see when make had 
this bug, or when it had been fixed.  I do recall Joe sounding uncertain 
as to whether this was really the problem, as it is something he did a 
few years ago.  For example, maybe this was a bug in Solaris make that 
he was remembering, and at the time he committed the change he didn't 
realize that FreeBSD make was correct in this regard.

Anyway, if you are running 5.x, why not try it out?  Try makefile like:

a=abc
all:
	echo ${a:Mab}, ${a:Mabc}, ${a:Mabcd}


You should get an output like
echo ,abc,
,abc,




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?465717C8.40803>