From bd6b6a84e79481192a5f0ee150df2a12656746d4 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 30 May 2006 17:09:21 +0000 Subject: add proper build depends git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3841 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/gen_deps.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/gen_deps.pl') diff --git a/scripts/gen_deps.pl b/scripts/gen_deps.pl index ef49fa3f41..40153bde3d 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; }; } -- cgit v1.2.3