From c080cf55b5ad88c4056e6e9a4f858e0dfbf642b1 Mon Sep 17 00:00:00 2001 From: afresh1 Date: Mon, 24 Mar 2014 14:59:14 +0000 Subject: Import perl-5.18.2 OK espie@ sthen@ deraadt@ --- gnu/usr.bin/perl/Porting/pod_rules.pl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gnu/usr.bin/perl/Porting/pod_rules.pl') diff --git a/gnu/usr.bin/perl/Porting/pod_rules.pl b/gnu/usr.bin/perl/Porting/pod_rules.pl index 838601597e2..f0b72ed41bd 100644 --- a/gnu/usr.bin/perl/Porting/pod_rules.pl +++ b/gnu/usr.bin/perl/Porting/pod_rules.pl @@ -204,8 +204,12 @@ sub do_unix { # pod/perl511delta.pod: pod/perldelta.pod # cd pod && $(LNS) perldelta.pod perl511delta.pod + # although it seems that HP-UX make gets confused, always tried to + # regenerate the symlink, and then the ln -s fails, as the target exists. + $makefile_SH =~ s!( pod/perl[a-z0-9_]+\.pod: pod/perl[a-z0-9_]+\.pod + \$\(RMS\) pod/perl[a-z0-9_]+\.pod \$\(LNS\) perl[a-z0-9_]+\.pod pod/perl[a-z0-9_]+\.pod )+!\0!gm; @@ -213,6 +217,7 @@ pod/perl[a-z0-9_]+\.pod: pod/perl[a-z0-9_]+\.pod my @copy_rules = map " pod/$_: pod/$state->{copies}{$_} + \$(RMS) pod/$_ \$(LNS) $state->{copies}{$_} pod/$_ ", keys %{$state->{copies}}; -- cgit v1.2.3