summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2008-01-07 22:00:54 +0200
committerGuillem Jover <guillem@debian.org>2008-01-07 22:00:54 +0200
commitd272131297d3500d313c90c5b1d01a8f2f6fb279 (patch)
tree6c7d51b3748e89382e87d779ced1008e5ef38a78
parent0e4fde61f444d8d564bb621a5fd4cd9afdc3e014 (diff)
downloaddpkg-d272131297d3500d313c90c5b1d01a8f2f6fb279.tar.gz
dpkg-checkbuilddeps: Remove unused $dep_regex
-rw-r--r--ChangeLog4
-rwxr-xr-xscripts/dpkg-checkbuilddeps.pl1
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 280d82d5e..6cb7ff2f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2008-01-07 Guillem Jover <guillem@debian.org>
+ * scripts/dpkg-checkbuilddeps.pl: Remove unused $dep_regex.
+
+2008-01-07 Guillem Jover <guillem@debian.org>
+
* scripts/dpkg-checkbuilddeps.pl: Add build-essential as an implicit
Build-Depends.
diff --git a/scripts/dpkg-checkbuilddeps.pl b/scripts/dpkg-checkbuilddeps.pl
index 57c57430a..68ace33f8 100755
--- a/scripts/dpkg-checkbuilddeps.pl
+++ b/scripts/dpkg-checkbuilddeps.pl
@@ -54,7 +54,6 @@ 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',
Dpkg::Deps::parse($fi{"C Build-Depends"},