fix missing package compile/installation issue
SVN-Revision: 11441
This commit is contained in:
parent
23d1a5bd88
commit
ab504da309
1 changed files with 12 additions and 11 deletions
|
@ -505,17 +505,6 @@ sub gen_package_mk() {
|
||||||
my @srcdeps;
|
my @srcdeps;
|
||||||
|
|
||||||
next if defined $pkg->{vdepends};
|
next if defined $pkg->{vdepends};
|
||||||
next if $done{$pkg->{src}};
|
|
||||||
$done{$pkg->{src}} = 1;
|
|
||||||
|
|
||||||
foreach my $spkg (@{$srcpackage{$pkg->{src}}}) {
|
|
||||||
foreach my $dep (@{$spkg->{depends}}, @{$spkg->{builddepends}}) {
|
|
||||||
$dep =~ /@/ or do {
|
|
||||||
$dep =~ s/\+//g;
|
|
||||||
push @srcdeps, $dep;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($ENV{SDK}) {
|
if ($ENV{SDK}) {
|
||||||
$conf{$pkg->{src}} or do {
|
$conf{$pkg->{src}} or do {
|
||||||
|
@ -530,6 +519,18 @@ sub gen_package_mk() {
|
||||||
$pkg->{prereq} and print "prereq-$config += $pkg->{subdir}$pkg->{src}\n";
|
$pkg->{prereq} and print "prereq-$config += $pkg->{subdir}$pkg->{src}\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
next if $done{$pkg->{src}};
|
||||||
|
$done{$pkg->{src}} = 1;
|
||||||
|
|
||||||
|
foreach my $spkg (@{$srcpackage{$pkg->{src}}}) {
|
||||||
|
foreach my $dep (@{$spkg->{depends}}, @{$spkg->{builddepends}}) {
|
||||||
|
$dep =~ /@/ or do {
|
||||||
|
$dep =~ s/\+//g;
|
||||||
|
push @srcdeps, $dep;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
my $hasdeps = 0;
|
my $hasdeps = 0;
|
||||||
my $depline = "";
|
my $depline = "";
|
||||||
foreach my $deps (@srcdeps) {
|
foreach my $deps (@srcdeps) {
|
||||||
|
|
Loading…
Reference in a new issue