From 80f483523ed3616eaa9c81b690d3cf03d5600240 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 1 Oct 2008 13:56:12 +0000 Subject: Add another change that got dropped in the merge of perl 5.10.0. This time, add a comment describing why it is there. --- gnu/usr.bin/perl/lib/ExtUtils/MM_Unix.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gnu/usr.bin') 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"} ||= {}; } -- cgit v1.2.3