From owner-freebsd-ports Mon Feb 17 2:38:50 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50AB837B405; Mon, 17 Feb 2003 02:38:48 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-52.dsl.lsan03.pacbell.net [63.207.60.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72DED43F85; Mon, 17 Feb 2003 02:38:45 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id C9082679DA; Mon, 17 Feb 2003 02:38:44 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id A5811110B; Mon, 17 Feb 2003 02:38:44 -0800 (PST) Date: Mon, 17 Feb 2003 02:38:44 -0800 From: Kris Kennaway To: David Yeske Cc: Kris Kennaway , ports@FreeBSD.ORG, sobomax@FreeBSD.ORG, Mario Subject: Re: USE_SDL Message-ID: <20030217103844.GA71546@rot13.obsecurity.org> References: <20030217090417.GA71101@rot13.obsecurity.org> <20030217092628.1850.qmail@web13507.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline In-Reply-To: <20030217092628.1850.qmail@web13507.mail.yahoo.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 17, 2003 at 01:26:28AM -0800, David Yeske wrote: > GLIB_CONFIG and GTK_CONFIG are defined in bsd.*.mk so they can be used in= a ports Makefile. > This allows statements like these to be used in a reinplace or *_ENV >=20 > s|-lgtk|`${GTK_CONFIG} --libs`| >=20 > s|glib-config|${GLIB_CONFIG}| >=20 > This seems to imply that information regarding gtk, glib, or sdl should b= e determined via the > *-config program with flags --libs, --cflags, version, etc... Right, but it can only be done during the port build. Variables set in the port makefile or in bsd.port.mk that use !=3D are executed during other targets like 'make index', 'make readmes', etc., and the sdl port will not be installed yet, in general. The only part of your proposal I didn't like was the !=3D assignment..otherwise it sounds like a useful idea. kris --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+ULu0Wry0BWjoQKURAiGnAJ9cWqBiloT29dF4238DNMkqDZJp3QCfcIn0 PUKgE2VZb3uRpo7qKGnEtGE= =+AE6 -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message