Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2003 14:44:50 +1000
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        Hans Lambermont <hans@lambermont.dyndns.org>
Subject:   Re: sdl11-config / sdl-config
Message-ID:  <20030812044450.GG815@k7.mavetju>
In-Reply-To: <20030812042553.GA45612@rot13.obsecurity.org>
References:  <20030811202331.GC92209@moya.lambermont.dyndns.org> <20030812034508.GA903@k7.mavetju> <20030812042553.GA45612@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 11, 2003 at 09:25:53PM -0700, Kris Kennaway wrote:
> On Tue, Aug 12, 2003 at 01:45:08PM +1000, Edwin Groothuis wrote:
> > On Mon, Aug 11, 2003 at 10:23:31PM +0200, Hans Lambermont wrote:
> > > About devel/sdl12 ,
> > > 
> > > I propose to create a symlink bin/sdl-config pointing to the installed
> > > bin/sdl11-config because sdl-config is what others expect to find.
> > > 
> > > What do you think of this ?
> > 
> > This works for all the ports I did (if I remember correctly):
> > 
> >     CONFIGURE_ENV=  SDL_CONFIG="${SDL_CONFIG}" ...
> 
> See also USE_SDL.

That's a new one. Would be handy if there was a USE_SDL_ALLTHEOTHERLIBSTOO
which point to SDL_mixer, SDL_image, SDL_gfx and SDL_ttf :-)

Or maybe not, I don't know.
Or like the gnome stuff:

    "USE_SDL	= yes" only does check for sdl11-config.
    "USE_SDL    = mixer image gfx" checks for sdl11-config
		  and these ones too.

Let me know if you want to go this far and I'll send-pr a patch.

I'm not really sure btw if the implementation in bsd.ports.mk is
the right one, it adds a LIB_DEPENDS for SDL-1.1.5, but it doesn't
add a BUILD_DEPEND on ${LOCALBASE}/bin/sdl11-config.

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin@mavetju.org    |    Weblog: http://www.mavetju.org/weblog/weblog.php 



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