diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2005-01-09 10:21:17 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2005-01-09 10:21:17 +0000 |
commit | 043f5658ce8b43a7d5ce286f0778cefdf6314e79 (patch) | |
tree | 98987f101f90092dd6ceae7c86f5f85c9e97d5c3 /Tools/make_index | |
parent | f296ccd76efda75c4f27b7a944d7cf31112701ba (diff) | |
download | ports-043f5658ce8b43a7d5ce286f0778cefdf6314e79.tar.gz ports-043f5658ce8b43a7d5ce286f0778cefdf6314e79.zip |
Notes
Diffstat (limited to 'Tools/make_index')
-rw-r--r-- | Tools/make_index | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/make_index b/Tools/make_index index 0d23456d4686..d5b5d9e3fc8c 100644 --- a/Tools/make_index +++ b/Tools/make_index @@ -42,7 +42,7 @@ sub recurse { foreach $name (@{$pkg->{edep}}) { recurse($index{$name}); push(@deps, @{$index{$name}->{rdep}}); - } + } $pkg->{edep} = uniqify(@{$pkg->{edep}}, @deps); # same as above except for patch-depends this time @@ -132,7 +132,7 @@ foreach $name (keys %index) { my @edep = map { by_path($_, $name) } @{$pkg->{edep}}; $pkg->{edep} = \@edep; } - # + # if (@{$pkg->{pdep}}) { my @pdep = map { by_path($_, $name) } @{$pkg->{pdep}}; $pkg->{pdep} = \@pdep; @@ -157,7 +157,7 @@ foreach $name (keys %index) { # With all that done we're finally ready to write out the new # INDEX file one port at a time. foreach $name (@names) { - my $pkg = $index{$name}; + my $pkg = $index{$name}; if (exists $pkg->{'PRINTED'}) { print STDERR "Warning: Duplicate INDEX entry: $name\n"; } else { |