]> err.no Git - dpkg/commitdiff
dpkg-checkbuilddeps: Add build-essential as an implicit Build-Depends
authorGuillem Jover <guillem@debian.org>
Mon, 7 Jan 2008 19:55:38 +0000 (21:55 +0200)
committerGuillem Jover <guillem@debian.org>
Mon, 7 Jan 2008 19:55:38 +0000 (21:55 +0200)
Closes: #402901
ChangeLog
debian/changelog
scripts/dpkg-checkbuilddeps.pl

index ad16710dfb0326130ee903c30e8a4cbce923629e..280d82d5e2db0481548ee1e1f4dadaa5dd5de2ab 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-07  Guillem Jover  <guillem@debian.org>
+
+       * scripts/dpkg-checkbuilddeps.pl: Add build-essential as an implicit
+       Build-Depends.
+
 2008-01-07  Guillem Jover  <guillem@debian.org>
 
        * configure.ac: Bump version to 1.14.16~.
index b6285acda2c4ece2de418c7e39d5c164bf2c67f9..337d15ab8d0dc9ccaeef852909d6b44c1783d280 100644 (file)
@@ -1,6 +1,8 @@
 dpkg (1.14.16) UNRELEASED; urgency=low
 
-  * 
+  [ Guillem Jover ]
+  * Add build-essential as an implicit Build-Depends in dpkg-checkbuilddeps.
+    Closes: #402901
 
  -- Guillem Jover <guillem@debian.org>  Mon, 07 Jan 2008 12:39:36 +0200
 
index 57c1a300aaa87a985d250271c1699d9eefcc1e6c..57c57430a1183ebefb194196fd7f4481da89077e 100755 (executable)
@@ -51,6 +51,9 @@ parsecontrolfile($controlfile);
 my $facts = parse_status("$admindir/status");
 my (@unmet, @conflicts);
 
+push @unmet, build_depends('Implicit-Build-Depends',
+                           Dpkg::Deps::parse('build-essential'), $facts);
+
 my $dep_regex=qr/[ \t]*(([^\n]+|\n[ \t])*)\s/; # allow multi-line
 if (defined($fi{"C Build-Depends"})) {
        push @unmet, build_depends('Build-Depends',