sdl11-config / sdl-config
Edwin Groothuis
edwin at mavetju.org
Mon Aug 11 21:44:56 PDT 2003
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 at mavetju.org | Weblog: http://www.mavetju.org/weblog/weblog.php
More information about the freebsd-ports
mailing list