diff options
author | bapt <bapt@FreeBSD.org> | 2013-09-24 04:07:18 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-09-24 04:07:18 +0800 |
commit | b52d65cf381dc536c7aa6cfa1c0946806cd2264f (patch) | |
tree | 546f87568dfdd858c7c14106585ede84daba58e6 /Mk/Uses/perl5.mk | |
parent | 4508b4a5335716d851377f0c60e655284afc15b5 (diff) | |
download | freebsd-ports-gnome-b52d65cf381dc536c7aa6cfa1c0946806cd2264f.tar.gz freebsd-ports-gnome-b52d65cf381dc536c7aa6cfa1c0946806cd2264f.tar.zst freebsd-ports-gnome-b52d65cf381dc536c7aa6cfa1c0946806cd2264f.zip |
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
Diffstat (limited to 'Mk/Uses/perl5.mk')
-rw-r--r-- | Mk/Uses/perl5.mk | 1 |
1 files changed, 1 insertions, 0 deletions
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 |