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 <[EMAIL PROTECTED]>
             <[EMAIL PROTECTED]>

/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
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to