add a hack to allow source package names in Build-Depends: (PKG_BUILDDEP)

SVN-Revision: 6060
This commit is contained in:
Nicolas Thill 2007-01-10 11:59:42 +00:00
parent 0362ccb83b
commit bf3654cc10

View file

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