Procházet zdrojové kódy

dpkg-checkbuilddeps: Add build-essential as an implicit Build-Depends

Closes: #402901
Guillem Jover před 18 roky
rodič
revize
0e4fde61f4
3 změnil soubory, kde provedl 11 přidání a 1 odebrání
  1. 5 0
      ChangeLog
  2. 3 1
      debian/changelog
  3. 3 0
      scripts/dpkg-checkbuilddeps.pl

+ 5 - 0
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~.

+ 3 - 1
debian/changelog

@@ -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
 

+ 3 - 0
scripts/dpkg-checkbuilddeps.pl

@@ -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',