Subject: Re: aalib not buildlinked when using SDL_mixer or SDL
To: None <tech-pkg@netbsd.org>
From: OBATA Akio <obata@lins.jp>
List: tech-pkg
Date: 11/17/2007 10:43:17
I saw same problem when trying to add x11 option to imlib2 :-)
After updated SDL to 1.2.10, aalib option was added.
So your SDL-1.2.9nb2 does not know such a option.
On Sat, 17 Nov 2007 04:41:22 +0900, Jeremy C. Reed <reed@reedmedia.net> wrote:
> I am working on an update of gnash.
>
> I .include "../../audio/SDL_mixer/buildlink3.mk"
> but later my build fails due to missing -laa.
>
> $ objdump -x /usr/pkg/lib/libSDL_mixer.so | grep NEED.*libaa
> NEEDED libaa.so.1
>
> I have: smpeg-0.4.4nb12, SDL_mixer-1.2.6nb4, and SDL-1.2.9nb2.
>
> I don't want to include buildlink for aalib directly. The SDL
> buildlink3.mk has:
>
>
> .if !empty(PKG_BUILD_OPTIONS.SDL:Maalib)
> .include "../../graphics/aalib/buildlink3.mk"
> .endif
>
>
> But I don't see PKG_BUILD_OPTIONS.SDL defined when I configure my gnash
> package.
>
> I looked at ../../mk/pkg-build-options.mk and then manually ran:
>
> $ pkg_info -Q PKG_OPTIONS SDL
> $
>
> Nothing.
>
> I don't know when this was added.
>
> Should packages have their revision bumped and the
> BUILDLINK_API_DEPENDS.${foo} bumped when a build method is changed like
> this?
>
>
> Jeremy C. Reed
>
--
"Of course I love NetBSD":-)
OBATA Akio / obata@lins.jp