From b52d65cf381dc536c7aa6cfa1c0946806cd2264f Mon Sep 17 00:00:00 2001
From: bapt <bapt@FreeBSD.org>
Date: Mon, 23 Sep 2013 20:07:18 +0000
Subject: Introduce a new MANDIRS macros to make the compress-man determine
 where the makefiles should be found Previous implementation was based on
 etc/man.d which doesn't exists in FreeBSD 8. By default MANDIRS is
 ${MANPREFIX}/man. if a port adds USES=perl5 then the perl default locations
 is added

Reviewed by:	bdrewery
---
 Mk/Uses/perl5.mk | 1 +
 1 file changed, 1 insertion(+)

(limited to 'Mk/Uses/perl5.mk')

diff --git a/Mk/Uses/perl5.mk b/Mk/Uses/perl5.mk
index 8f69c14ac215..3c42b5e72c22 100644
--- a/Mk/Uses/perl5.mk
+++ b/Mk/Uses/perl5.mk
@@ -164,6 +164,7 @@ PLIST_SUB+=	PERL5_MAN${sect}=lib/perl5/${PERL_VER}/man/man${sect}/
 _MANPAGES+=	${P5MAN${sect}:S%^%${PREFIX}/lib/perl5/${PERL_VER}/man/man${sect}/%}
 .endif
 .endfor
+MANDIRS+=	${PREFIX}/lib/perl5/${PERL_VER}
 
 .if ${_USE_PERL5:Mmodbuild} || ${_USE_PERL5:Mmodbuildtiny}
 _USE_PERL5+=		configure
-- 
cgit