Additional files with gnome installed

Pav Lucistnik pav at FreeBSD.org
Fri Dec 21 14:57:02 PST 2007


Beech Rintoul píše v pá 21. 12. 2007 v 13:31 -0900:

> I have run into a problem with a couple of ports which detect that 
> gnome desktop is installed and add additional files, ie: foo.desktop.
> 
> Is there a way to check if the desktop is installed from the makefile? 
> Everything I've tried has been unsuccessful. I'd like to be able to 
> make this conditional so the plist isn't incomplete with gnome 
> installed.

See how vendor's configure script detects the presence of GNOME, and do
a check on the similar package, like

.if exists(${LOCALBASE}/lib/libgnome.so)
PLIST_SUB+=	GNOME=""

etc...

-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>
Traffic collapse in Paris starts whenever a traffic light changes color.
-- JLE at #angband
-------------- 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-gnome/attachments/20071221/bbab41d7/attachment.pgp


More information about the freebsd-gnome mailing list