More speed increases for make-ing ports

Pav Lucistnik pav at FreeBSD.org
Tue May 22 21:17:04 UTC 2007


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 <pav at oook.cz>
              <pav at FreeBSD.org>

What do you mean? An African or a European swallow?
-------------- 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/f120ccee/attachment.pgp


More information about the freebsd-ports mailing list