Ver Fonte

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

SVN-Revision: 6060
Nicolas Thill há 19 anos atrás
pai
commit
bf3654cc10
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      scripts/gen_deps.pl

+ 2 - 0
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;