projects
/
openwrt
/
staging
/
luka.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5901305
)
Reset condition for each dependeny when generating mconf files. Previously all depend...
author
Lars-Peter Clausen
<lars@metafoo.de>
Sun, 1 Feb 2009 01:16:01 +0000
(
01:16
+0000)
committer
Lars-Peter Clausen
<lars@metafoo.de>
Sun, 1 Feb 2009 01:16:01 +0000
(
01:16
+0000)
SVN-Revision: 14335
scripts/metadata.pl
patch
|
blob
|
history
diff --git
a/scripts/metadata.pl
b/scripts/metadata.pl
index da29fdd895c26d86cac0f2e4b608886428d46bdc..fa30556205d260034bd12f7570acf877e4d88b10 100755
(executable)
--- a/
scripts/metadata.pl
+++ b/
scripts/metadata.pl
@@
-375,7
+375,7
@@
sub mconf_depends {
my $res;
my $dep = shift;
my $seen = shift;
- my $condition = shift;
+ my $
parent_
condition = shift;
$dep or $dep = {};
$seen or $seen = {};
@@
-386,11
+386,12
@@
sub mconf_depends {
$depend =~ s/^([@\+]+)//;
my $flags = $1;
my $vdep;
+ my $condition;
if ($depend =~ /^(.+):(.+)$/) {
if ($1 ne "PACKAGE_$pkgname") {
- if ($condition) {
- $condition = "$condition && $1";
+ if ($
parent_
condition) {
+ $condition = "$
parent_
condition && $1";
} else {
$condition = $1;
}