summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2008-10-01 13:56:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2008-10-01 13:56:12 +0000
commit80f483523ed3616eaa9c81b690d3cf03d5600240 (patch)
tree3cd6927b3537b1e6648ca9113d54c78c26ad63ba /gnu/usr.bin
parentb73d7c7def10e7686768a7ff250ac3643e96a5a4 (diff)
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')
-rw-r--r--gnu/usr.bin/perl/lib/ExtUtils/MM_Unix.pm5
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"} ||= {};
}