From: Guillem Jover Date: Mon, 7 Jan 2008 19:55:38 +0000 (+0200) Subject: dpkg-checkbuilddeps: Add build-essential as an implicit Build-Depends X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e4fde61f444d8d564bb621a5fd4cd9afdc3e014;p=dpkg dpkg-checkbuilddeps: Add build-essential as an implicit Build-Depends Closes: #402901 --- diff --git a/ChangeLog b/ChangeLog index ad16710d..280d82d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-01-07 Guillem Jover + + * scripts/dpkg-checkbuilddeps.pl: Add build-essential as an implicit + Build-Depends. + 2008-01-07 Guillem Jover * configure.ac: Bump version to 1.14.16~. diff --git a/debian/changelog b/debian/changelog index b6285acd..337d15ab 100644 --- a/debian/changelog +++ b/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 Mon, 07 Jan 2008 12:39:36 +0200 diff --git a/scripts/dpkg-checkbuilddeps.pl b/scripts/dpkg-checkbuilddeps.pl index 57c1a300..57c57430 100755 --- a/scripts/dpkg-checkbuilddeps.pl +++ b/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',