On Wed, Sep 16, 2009 at 5:58 PM, Frans Pop <[email protected]> wrote:
> AFAICT libapt-pkg-perl currently does not expose these architecture
> conditions in the BuildDepends hash. Would it be possible to add this?

Not easily, these architecture-specific entries are filtered by the
underlying libapt-pkg APT library which includes only those
dependencies which are appropriate for the current architecture.

You can change the architecture which is used when parsing the Build-Depends:

  use AptPkg::Config '$_config';
  $_config->init;
  [...]
  $_config->{APT::Architecture} = $arch;

--bod



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to