Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2003 01:26:28 -0800 (PST)
From:      David Yeske <dyeske@yahoo.com>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        Kris Kennaway <kris@obsecurity.org>, ports@FreeBSD.ORG, sobomax@FreeBSD.ORG, Mario <lioux@FreeBSD.ORG>
Subject:   Re: USE_SDL
Message-ID:  <20030217092628.1850.qmail@web13507.mail.yahoo.com>
In-Reply-To: <20030217090417.GA71101@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <kris@obsecurity.org> 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




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