projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add a hack to allow source package names in Build-Depends: (PKG_BUILDDEP)
[openwrt/svn-archive/archive.git]
/
scripts
/
gen_deps.pl
diff --git
a/scripts/gen_deps.pl
b/scripts/gen_deps.pl
index af206f004782675832ea7f2866232a5f704e65b5..0fc80aae8508154ddc8dfdb02e40c48e75a425d9 100755
(executable)
--- 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;