Subject: aalib not buildlinked when using SDL_mixer or SDL
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 11/16/2007 13:41:22
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