diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-01-10 11:59:42 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-01-10 11:59:42 +0000 |
commit | 4c42a84530c4f68377dc4aa06cc3bba3227d8dd9 (patch) | |
tree | ab1f1c9f10262b7ef289f7f51d9f7e58bb3a2bb8 /scripts/gen_deps.pl | |
parent | 80551b13b04403e8da18ef3f624d68438fbd3ac9 (diff) |
add a hack to allow source package names in Build-Depends: (PKG_BUILDDEP)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6060 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 af206f0047..0fc80aae85 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; |