More speed increases for make-ing ports
Stephen Montgomery-Smith
stephen at math.missouri.edu
Tue May 22 18:58:48 UTC 2007
Stephen Montgomery-Smith wrote:
> Pav Lucistnik wrote:
>> Stephen Montgomery-Smith píše v út 22. 05. 2007 v 09:35 -0500:
>>
>>
>>> For example, this dramatically improves the time for invocations of
>>> "make -V PKGNAME" for deskutils/alacarte (on my system from about 1.5
>>> seconds to .3 seconds). It only affects a few ports, but enough, I
>>> think, to increase the speed of "make index" noticeably albeit not
>>> dramatically.
>>>
>>
>> Sounds good. Can you get us a fresh patch?
>>
>>
>
> Try the patch I sent last night. The modifier :u seems only to be
> available in CURRENT, and writing it without invoking a shell without :u
> is really beyond my skills.
Or maybe it is not beyond my skills. This is what I came up with:
-------------- next part --------------
--- 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}"
More information about the freebsd-gnome
mailing list