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 ...
--
Pav Lucistnik <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
What do you mean? An African or a European swallow?
signature.asc
Description: Toto je digitálně podepsaná část zprávy
