summaryrefslogtreecommitdiff
path: root/lang/perl5.8/files/use.perl
diff options
context:
space:
mode:
Diffstat (limited to 'lang/perl5.8/files/use.perl')
-rw-r--r--lang/perl5.8/files/use.perl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/perl5.8/files/use.perl b/lang/perl5.8/files/use.perl
index 354c8e1e59cc..ba6057f1c5db 100644
--- a/lang/perl5.8/files/use.perl
+++ b/lang/perl5.8/files/use.perl
@@ -69,6 +69,7 @@ EOF
while (<MPOLD>) {
next if m|use.perl generated line|;
next if m|^\s*OPTIONAL_MANPATH\s+\S+/lib/perl5/%%PERL_VERSION%%/man\s*$|;
+ next if m|^\s*OPTIONAL_MANPATH\s+\S+/lib/perl5/%%PERL_VERSION%%/perl/man\s*$|;
print MPNEW;
}
close MPNEW;
@@ -112,6 +113,7 @@ EOF
my $perl_port_manpath = <<EOF;
# -- use.perl generated line -- #
OPTIONAL_MANPATH %%PREFIX%%/lib/perl5/%%PERL_VERSION%%/man
+OPTIONAL_MANPATH %%PREFIX%%/lib/perl5/%%PERL_VERSION%%/perl/man
EOF
open MPOLD, "< /etc/manpath.config" or die "/etc/manpath.config: $!";