Date: Tue, 22 May 2007 16:56:55 -0500 (CDT) From: Stephen Montgomery-Smith <stephen@math.missouri.edu> To: Pav Lucistnik <pav@freebsd.org> Cc: gnome@freebsd.org, freebsd-ports@freebsd.org, Kris Kennaway <kris@obsecurity.org> Subject: Re: More speed increases for make-ing ports Message-ID: <20070522165525.S52261@math.missouri.edu> In-Reply-To: <1179869940.83498.9.camel@ikaros.oook.cz> References: <465291FB.4010901@math.missouri.edu> <20070522071941.GB59910@xor.obsecurity.org> <4652FFB4.8060107@math.missouri.edu> <1179846295.52353.27.camel@pav.hide.vol.cz> <4653349D.7080608@math.missouri.edu> <46533D66.1070305@math.missouri.edu> <1179868612.83498.6.camel@ikaros.oook.cz> <1179869940.83498.9.camel@ikaros.oook.cz>
index | next in thread | previous in thread | raw e-mail
On Tue, 22 May 2007, Pav Lucistnik wrote:
> Pav Lucistnik píše v út 22. 05. 2007 v 23:16 +0200:
>> Stephen Montgomery-Smith píše v út 22. 05. 2007 v 13:58 -0500:
>>
>>> Or maybe it is not beyond my skills. This is what I came up with:
>>>
>>> Prostý textový dokument příloha (ddd)
>>> --- bsd.gnome.mk-orig Tue May 22 01:29:08 2007
>>> +++ bsd.gnome.mk Tue May 22 13:56:16 2007
>>> @@ -655,6 +655,13 @@
>>> _USE_GNOME+= ${${component}_USE_GNOME_IMPL} ${component}
>>> . endfor
>>>
>>> +.for component in ${_USE_GNOME_ALL}
>>> +. if ${_USE_GNOME:M${component}} != ""
>>> +_USE_GNOME_UNIQ+=${component}
>>> +. endif
>>> +.endfor
>>> +_USE_GNOME=${_USE_GNOME_UNIQ}
>>> +
>>> # Setup the GTK+ API version for pixbuf loaders, input method modules,
>>> # and theme engines.
>>> PLIST_SUB+= GTK2_VERSION="${GTK2_VERSION}"
>>
>> Too bad it does not work. Breaks on, for example, graphics/opencv.
>> You need to handle the case of USE_GNOME being defined as empty.
>>
>> Wrapping the code block inside
>>
>> .ifdef _USE_GNOME
>> .endif
>>
>> seems to do the trick here. Still testing ...
>
> I have generated two INDEXes, one with the patch and one without. They
> are identical, the timings:
>
> INDEX-orig
> real 16m32.761s
> user 18m36.802s
> sys 8m38.610s
>
> INDEX-ddd
> real 16m34.620s
> user 17m25.976s
> sys 8m46.333s
>
>
> --
> Pav Lucistnik <pav@oook.cz>
> <pav@FreeBSD.org>
>
> /usr/src scares me. I'm just not man enough to commit there.
>
Sorry it didn't work out. Thanks for trying it.
Could you try the "shell" one also? I got the impression it was a bit
faster.
Stephen
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070522165525.S52261>
