From owner-freebsd-ports Mon Feb 17 1:26:30 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 7251837B406 for ; Mon, 17 Feb 2003 01:26:29 -0800 (PST) Received: from web13507.mail.yahoo.com (web13507.mail.yahoo.com [216.136.175.86]) by mx1.FreeBSD.org (Postfix) with SMTP id 7413543F93 for ; Mon, 17 Feb 2003 01:26:28 -0800 (PST) (envelope-from dyeske@yahoo.com) Message-ID: <20030217092628.1850.qmail@web13507.mail.yahoo.com> Received: from [24.196.239.120] by web13507.mail.yahoo.com via HTTP; Mon, 17 Feb 2003 01:26:28 PST Date: Mon, 17 Feb 2003 01:26:28 -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: <20030217090417.GA71101@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 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... I think USE_SDL and ${SDL_CONFIG} should provide similar functionality and be consistant with USE_GTK and USE_GLIB --- Kris Kennaway wrote: > On Mon, Feb 17, 2003 at 12:49:03AM -0800, David Yeske wrote: > > > I'm trying to follow the methods applied to GTK_CONFIG and > > GLIB_CONFIG, unless there is a better way to do this. Most of the > > time the information provided by ${SDL_CONFIG} --libs does not need > > to be redefined because most ports will or should use ${SDL_CONFIG} > > --libs to determine those values. Sometimes -lSDL will be hardcoded > > but that is not common There is no GTK_LIBS or GLIB_LIBS defined, > > and developers are responsible for knowing when to use > > `${GTK/GLIB_CONFIG} --libs`. I think it would be appropriate to not > > define SDL_LIBS via USE_SDL. > > I don't see GTK_CONFIG or GLIB_CONFIG being used in this manner in bsd.*.mk. > > 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