diff options
author | Steve Langasek <steve.langasek@canonical.com> | 2012-03-29 20:54:59 -0700 |
---|---|---|
committer | Steve Langasek <steve.langasek@canonical.com> | 2012-03-29 20:54:59 -0700 |
commit | 7fd909a909b5cec2aae82e28083f6a252e527e3d (patch) | |
tree | 64321c6220dd11ad29c0a96169ad9eccc522a7b9 | |
parent | 6bd602616e8264216fa0f49f049db14f324a8c8d (diff) |
don't treat build-depends-indep as cross-build-dependencies; we should
always install the host arch versions. LP: #968828.
-rw-r--r-- | cmdline/apt-get.cc | 2 | ||||
-rw-r--r-- | debian/changelog | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index b0a845b4a..45405e761 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -2827,7 +2827,7 @@ bool DoBuildDep(CommandLine &CmdL) pkgCache::PkgIterator Pkg; // Cross-Building? - if (StripMultiArch == false) + if (StripMultiArch == false && D->Type != pkgSrcRecords::Parser::BuildDependIndep) { size_t const colon = D->Package.find(":"); if (colon != string::npos && diff --git a/debian/changelog b/debian/changelog index fbf44d6e4..bda65c543 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ apt (0.8.16~exp12ubuntu7) UNRELEASED; urgency=low * clean up obsolete conffile /etc/apt/apt.conf.d/01ubuntu, which was dropped in maverick. + * don't treat build-depends-indep as cross-build-dependencies; we should + always install the host arch versions. LP: #968828. -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 24 Mar 2012 00:05:43 -0700 |