소스 검색

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

SVN-Revision: 6060
Nicolas Thill 19 년 전
부모
커밋
bf3654cc10
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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;