diff options
author | afresh1 <afresh1@cvs.openbsd.org> | 2014-03-24 14:59:14 +0000 |
---|---|---|
committer | afresh1 <afresh1@cvs.openbsd.org> | 2014-03-24 14:59:14 +0000 |
commit | c080cf55b5ad88c4056e6e9a4f858e0dfbf642b1 (patch) | |
tree | 90e52b9a68c9bf2fe8cd12484950cdc93821c2c4 /gnu/usr.bin/perl/Porting/pod_rules.pl | |
parent | 2fae50d18aceff793a4705626eb1156e0070870a (diff) |
Import perl-5.18.2
OK espie@ sthen@ deraadt@
Diffstat (limited to 'gnu/usr.bin/perl/Porting/pod_rules.pl')
-rw-r--r-- | gnu/usr.bin/perl/Porting/pod_rules.pl | 5 |
1 files changed, 5 insertions, 0 deletions
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}}; |