From f444c552f7f54284ec310d1162d2da36b5f7cea1 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Wed, 10 Jan 2007 11:59:42 +0000 Subject: [PATCH] add a hack to allow source package names in Build-Depends: (PKG_BUILDDEP) SVN-Revision: 6060 --- scripts/gen_deps.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/gen_deps.pl b/scripts/gen_deps.pl index af206f0047..0fc80aae85 100755 --- a/scripts/gen_deps.pl +++ b/scripts/gen_deps.pl @@ -28,6 +28,8 @@ while ($line = <>) { $line =~ /^Source-Makefile: \s*(.+\/([^\/]+)\/Makefile)\s*$/ and do { $makefile = $1; $src = $2; + defined $pkg{$src} or $pkg{$src} = {}; + $pkg{$src}->{src} = $src; }; $line =~ /^Package: \s*(.+)\s*$/ and do { $name = $1; -- 2.30.2