diff options
author | Nicolas Thill <nico@openwrt.org> | 2007-01-10 11:59:42 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2007-01-10 11:59:42 +0000 |
commit | bf3654cc107890bf2bad0393cc12a372fbbe8167 (patch) | |
tree | 4234bb873b0324bb706d86a715fe4b08a237e305 /scripts/gen_deps.pl | |
parent | 0362ccb83b84811147849927aa7af4f39e5f04b2 (diff) | |
download | mtk-20170518-bf3654cc107890bf2bad0393cc12a372fbbe8167.zip mtk-20170518-bf3654cc107890bf2bad0393cc12a372fbbe8167.tar.gz mtk-20170518-bf3654cc107890bf2bad0393cc12a372fbbe8167.tar.bz2 |
add a hack to allow source package names in Build-Depends: (PKG_BUILDDEP)
SVN-Revision: 6060
Diffstat (limited to 'scripts/gen_deps.pl')
-rwxr-xr-x | scripts/gen_deps.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/gen_deps.pl b/scripts/gen_deps.pl index af206f0..0fc80aa 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; |