Просмотр исходного кода

Make dpkg-checkbuilddeps always check for build-essential.

Adam Heath лет назад: 24
Родитель
Сommit
514819f7c6
4 измененных файлов с 11 добавлено и 2 удалено
  1. 5 0
      ChangeLog
  2. 2 0
      debian/changelog
  3. 3 2
      scripts/dpkg-checkbuilddeps.1
  4. 1 0
      scripts/dpkg-checkbuilddeps.pl

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+Wed Nov 28 18:11:38 CST 2001 Adam Heath <doogie@debian.org>
+
+  * scripts/dpkg-checkbuilddeps.{1,pl}: Make dpkg-checkbuilddeps always
+    check for build-essential.
+
 Wed Nov 28 17:46:23 CST 2001 Adam Heath <doogie@debian.org>
 
   * debian/changelog: Note that the dselect.deb split closes a bug.

+ 2 - 0
debian/changelog

@@ -60,6 +60,8 @@ dpkg (1.10) unstable; urgency=low
     textutils md5sum.  Closes: #121489.
   * Apply patch from bug, to give update-alternatives a --list command.
     Closes: #120924.
+  * Make dpkg-checkbuilddeps always check for build-essential.  Closes:
+    #118420.
 
  -- Wichert Akkerman <wakkerma@debian.org>  Mon, 20 Aug 2001 14:54:38 +0200
 

+ 3 - 2
scripts/dpkg-checkbuilddeps.1

@@ -5,8 +5,9 @@ dpkg-checkbuilddeps -- check build dependencies and conflicts
 \fBdpkg-checkbuilddeps\fR -B [\fIcontrol-file\fR]
 .SH DESCRIPTION
 This program checks the installed packages in the system against the build
-dependencies and build conflicts listed in the control file. If any are
-not met, it displays them and exits with a nonzero return code.
+dependencies and build conflicts listed in the control file. It also checks
+for build-essential. If any are not met, it displays them and exits with a
+nonzero return code.
 .P
 By default, \fBdebian/control\fR is read, but an alternate control filename
 may be specified on the command line.

+ 1 - 0
scripts/dpkg-checkbuilddeps.pl

@@ -35,6 +35,7 @@ local $/='';
 my $cdata=<CONTROL>;
 close CONTROL;
 
+push @unmet, build_depends("build-essential", @status);
 my $dep_regex=qr/\s*((.|\n\s+)*)\s/; # allow multi-line
 if ($cdata =~ /^Build-Depends:$dep_regex/mi) {
 	push @unmet, build_depends($1, @status);