From owner-freebsd-ports Mon Feb 17 16: 6:34 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 5BD4137B405 for ; Mon, 17 Feb 2003 16:06:33 -0800 (PST) Received: from web13502.mail.yahoo.com (web13502.mail.yahoo.com [216.136.175.81]) by mx1.FreeBSD.org (Postfix) with SMTP id 5439E43FBD for ; Mon, 17 Feb 2003 16:06:32 -0800 (PST) (envelope-from dyeske@yahoo.com) Message-ID: <20030218000632.26018.qmail@web13502.mail.yahoo.com> Received: from [24.196.239.120] by web13502.mail.yahoo.com via HTTP; Mon, 17 Feb 2003 16:06:32 PST Date: Mon, 17 Feb 2003 16:06:32 -0800 (PST) From: David Yeske Subject: Re: USE_SDL To: Kris Kennaway Cc: Kris Kennaway , ports@FreeBSD.ORG, sobomax@FreeBSD.ORG, Mario In-Reply-To: <20030217103844.GA71546@rot13.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 ok how about this? http://pigseye.kennesaw.edu/~dyeske/freebsd/patch-bsd.port.mk --- Kris Kennaway wrote: > 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 > > > > s|-lgtk|`${GTK_CONFIG} --libs`| > > > > s|glib-config|${GLIB_CONFIG}| > > > > This seems to imply that information regarding gtk, glib, or sdl should be 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 != 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 != > assignment..otherwise it sounds like a useful idea. > > kris > > ATTACHMENT part 2 application/pgp-signature __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message