diff options
author | 2008-10-01 13:56:11 +0000 | |
---|---|---|
committer | 2008-10-01 13:56:11 +0000 | |
commit | 231f6fdd590bb810086f3324ed8deef8451b738b (patch) | |
tree | ffabb697bfa9b1823649781a9b8a98b9a56f81cd /gnu/usr.bin/perl/lib/ExtUtils | |
parent | re-apply change from rev 1.18 (diff) | |
download | wireguard-openbsd-231f6fdd590bb810086f3324ed8deef8451b738b.tar.xz wireguard-openbsd-231f6fdd590bb810086f3324ed8deef8451b738b.zip |
Add another change that got dropped in the merge of perl 5.10.0.
This time, add a comment describing why it is there.
Diffstat (limited to 'gnu/usr.bin/perl/lib/ExtUtils')
-rw-r--r-- | gnu/usr.bin/perl/lib/ExtUtils/MM_Unix.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/perl/lib/ExtUtils/MM_Unix.pm b/gnu/usr.bin/perl/lib/ExtUtils/MM_Unix.pm index 691a890eb36..bc2d057eeb2 100644 --- a/gnu/usr.bin/perl/lib/ExtUtils/MM_Unix.pm +++ b/gnu/usr.bin/perl/lib/ExtUtils/MM_Unix.pm @@ -1323,7 +1323,10 @@ sub init_MANPODS { # Set up names of manual pages to generate from pods foreach my $man (qw(MAN1 MAN3)) { if ( $self->{"${man}PODS"} - or $self->{"INSTALL${man}DIR"} =~ /^(none|\s*)$/ + # Cannot check INSTALL${man}DIR on OpenBSD since we + # have that set to "none" to prevent installation of + # the main perl man pages. Use INST_${man}DIR instead + or $self->{"INST_${man}DIR"} =~ /^(none|\s*)$/ ) { $self->{"${man}PODS"} ||= {}; } |