aboutsummaryrefslogtreecommitdiff
path: root/Mk/Uses
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/perl5.mk7
1 files changed, 2 insertions, 5 deletions
diff --git a/Mk/Uses/perl5.mk b/Mk/Uses/perl5.mk
index 68dbebc619d9..5d0f0aa4f662 100644
--- a/Mk/Uses/perl5.mk
+++ b/Mk/Uses/perl5.mk
@@ -152,14 +152,11 @@ _INCLUDE_USES_PERL5_POST_MK= yes
PLIST_SUB+= PERL_VERSION=${PERL_VERSION} \
PERL_VER=${PERL_VER} \
PERL_ARCH=${PERL_ARCH} \
+ PERL5_MAN3=lib/perl5/${PERL_VER}/man/man3 \
SITE_PERL=${SITE_PERL_REL}
-.for sect in 1 2 3 4 5 6 7 8 9
-PLIST_SUB+= PERL5_MAN${sect}=lib/perl5/${PERL_VER}/man/man${sect}
-.endfor
-
# handle perl5 specific manpages
-.for sect in 1 2 3 4 5 6 7 8 9
+.for sect in 3
.if defined(P5MAN${sect})
_MANPAGES+= ${P5MAN${sect}:S%^%${PREFIX}/lib/perl5/${PERL_VER}/man/man${sect}/%}
.endif