Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2003 12:36:36 +0100
From:      Ulrich Spoerlein <q@uni.de>
To:        ports@freebsd.org
Subject:   Re: USE_SDL
Message-ID:  <20030217113636.GD3801@galgenberg.net>
In-Reply-To: <20030217060343.16587.qmail@web13505.mail.yahoo.com>
References:  <20030217060343.16587.qmail@web13505.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--zhXaljGHf11kAtnf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, 16.02.2003 at 22:03:43 -0800, David Yeske wrote:
> I wanted to get feedback on USE_SDL.  Most sdl ports have to redefine thi=
ngs like sdl-config,
> -lSDL, or SDL/SDL.h.  Maybe USE_SDL in bsd.port.mk would save time, add c=
onsistency, and reduce
> duplication.  This is only an example, and it has not been tested well.=
=20
>=20
> .if defined(USE_SDL)
> LIB_DEPENDS+=3D   SDL-1.1.5:${PORTSDIR}/devel/sdl12
> SDL_CONFIG?=3D    ${LOCALBASE}/bin/sdl11-config
> CONFIGURE_ENV+=3D SDL_CONFIG=3D"${SDL_CONFIG}"
> MAKE_ENV+=3D              SDL_CONFIG=3D"${SDL_CONFIG}"
> SDL_LIBS!=3D              ${SDL_CONFIG} --libs | ${SED} -e 's/.*\(-lSDL-[=
0-9].[0-9]\).*/\1/'
> .endif

Wouldn't it be better to finally get rid of the SDL Version <-> Library
mis-match?

sdl12 installs itself as sdl11 where nearly all ports want just sdl??
Why is that?

--zhXaljGHf11kAtnf
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+UMlDmArGtfDbn0QRAiP+AKCDr99b8lhWPSylIKOHNpvVrclTIwCgsNNt
U9RmZv77788bAIrMwhfOHkM=
=g9JD
-----END PGP SIGNATURE-----

--zhXaljGHf11kAtnf--

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?20030217113636.GD3801>