summaryrefslogtreecommitdiffstats
path: root/scripts/gen_deps.pl
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-05-30 17:09:21 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-05-30 17:09:21 +0000
commitae7dab366c205a5358f66ba0d3d678566ccc3f29 (patch)
tree840ed863b031714b1fb2394fe276a92ef99fcac6 /scripts/gen_deps.pl
parentfd2ae84776684707c93853355e719f373c1c6189 (diff)
add proper build depends
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3841 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/gen_deps.pl')
-rwxr-xr-xscripts/gen_deps.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gen_deps.pl b/scripts/gen_deps.pl
index ef49fa3f4..40153bde3 100755
--- a/scripts/gen_deps.pl
+++ b/scripts/gen_deps.pl
@@ -18,8 +18,8 @@ while ($line = <>) {
defined $pkg{$name} or $pkg{$name} = {};
$pkg{$name}->{src} = $src;
};
- $line =~ /^Depends: \s*(.+)\s*$/ and do {
- my @dep = split /,\s*/, $1;
+ $line =~ /^(Build-)?Depends: \s*(.+)\s*$/ and do {
+ my @dep = split /,\s*/, $2;
$pkg{$name}->{depends} = \@dep;
};
}