More speed increases for make-ing ports
Pav Lucistnik
pav at FreeBSD.org
Tue May 22 21:39:11 UTC 2007
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 at oook.cz>
<pav at FreeBSD.org>
/usr/src scares me. I'm just not man enough to commit there.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20070522/79ed5c98/attachment.pgp
More information about the freebsd-ports
mailing list