Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2007 23:56:53 +0100
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        Beech Rintoul <beech@FreeBSD.org>
Cc:        gnome@FreeBSD.org
Subject:   Re: Additional files with gnome installed
Message-ID:  <1198277813.95955.4.camel@ikaros.oook.cz>
In-Reply-To: <200712211332.01178.beech@freebsd.org>
References:  <200712211332.01178.beech@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-y4OHteaYbJ+n7kcsVHcN
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable

Beech Rintoul p=ED=B9e v p=E1 21. 12. 2007 v 13:31 -0900:

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

etc...

--=20
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>
Traffic collapse in Paris starts whenever a traffic light changes color.
-- JLE at #angband

--=-y4OHteaYbJ+n7kcsVHcN
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: 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?=

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQBHbES1ntdYP8FOsoIRAmgsAJsGX3dnheyFkbsb9z1J+2JPNjasLgCffB2U
gLHWjT+2q2AKUqbjMQUsSyQ=
=4Qec
-----END PGP SIGNATURE-----

--=-y4OHteaYbJ+n7kcsVHcN--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1198277813.95955.4.camel>