Subject: Re: mplayer build failuer after aalib-x11 addition
To: Jukka Salmi <j+nbsd@2005.salmi.ch>
From: Leonard Schmidt <lems@gmx.net>
List: tech-pkg
Date: 07/20/2005 19:04:22
--mP3DRpeJDSE+ciuQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello Jukka!

On Mon, Jul 18, 2005 at 10:24:06PM +0200, Jukka Salmi wrote:
> after todays changes to multimedia/mplayer-share I tried to build
> mplayer with the following options enabled:
>=20
> 	aalib gif jpeg mplayer-real mplayer-win32 png

I just experienced the same	problem. This seems to only happen when
one disables SDL.

Also, when enabling SDL, SDL_LIB has the following value:
SDL_LIB =3D -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -lSDL -lossaudio -lpthre=
ad -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib =
-lm -L/usr/X11R6/lib -lX11 -lXext -L/usr/pkg/lib -laa-x11 -lm -L/usr/X11R6/=
lib -lX11 -lusbhid
								^^^=09

SDL_LIB is, of course, empty when disabling SDL, but AA_LIB is *always*
empty, causing the build to fail.=20
(For example, I just tested this with libcaca and as expected, CACA_INC
and CACA_LIB get defined in config.mak.)

How is a (good) fix supposed to look?

I am very sorry for breaking MPlayer.

Regards,
Leonard

--mP3DRpeJDSE+ciuQ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iD8DBQFC3qA2effumNo0U88RAjnOAJ9spxlHcsg8qMZdXItKD0swhAFm7gCgiLJl
jrn5vrvWzMKxeCT1D2ldwSQ=
=JlnQ
-----END PGP SIGNATURE-----

--mP3DRpeJDSE+ciuQ--