Subject: Re: buildlink3.mk and library dependancies
To: None <murray@river-styx.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: tech-pkg
Date: 01/23/2006 12:43:13
--yLfVvEQOBD/VeTNx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Mon, Jan 23, 2006 at 01:37:30PM +1100, murray@river-styx.org wrote:
> The ffmpeg package has a number of compile time option dependancies,
> for example: faad, faac, a52, lame etc. The transcode program requires
> ffmpeg to build and will fail if ffmpeg cannot be found or linked
> properly. Currently I have most options in use for my ffmpeg pkg but
> when transcode tries to test the existance and usability of ffmpeg,
> the configure test fails to compile because transcode doesn't know
> that ffmpeg needs additional linker flags to pull in the optional
> dependancies of ffmpeg. What is the buildlink3.mk suggested way of
> passing additional linker flags around depending on PKG_OPTIONS
> selected? At the moment I am playing with just setting a variable
> myself in the ffmpeg buildlink3.mk file and using it in transcode, but
> I wonder if there is a way of doing this within the buildlink3
> framework. Couldn't find anything in the doc/pkgsrc.txt file.
include buildlink3.mk files for the dependencies into ffmpeg's
buildlink3.mk file based on the PKG_BUILD_OPTIONS values. see e.g.,
wip/xmms2 for an example.
regards,
--=20
-- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org> --
--yLfVvEQOBD/VeTNx
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)
iD8DBQFD1MFRiwjDDlS8cmMRAnM0AJ4thknRl68th4kOm/l0W6haskx7KwCdGEs2
C6iB97pPhy/4XR5oEeuqpxA=
=XgOs
-----END PGP SIGNATURE-----
--yLfVvEQOBD/VeTNx--