summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/lib/ExtUtils
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2008-10-01 13:56:11 +0000
committermillert <millert@openbsd.org>2008-10-01 13:56:11 +0000
commit231f6fdd590bb810086f3324ed8deef8451b738b (patch)
treeffabb697bfa9b1823649781a9b8a98b9a56f81cd /gnu/usr.bin/perl/lib/ExtUtils
parentre-apply change from rev 1.18 (diff)
downloadwireguard-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.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"} ||= {};
}