ports/textproc/p5-Pod-Perldoc/files/patch-lib_Pod_Perldoc_ToMan.pm
Mathieu Arnold 500e6a241e Have perldoc use mandoc before *roff. Also, fix perldoc when using more as a
pager.

Differential Revision:	https://reviews.freebsd.org/D2373
With hat:	perl@
Sponsored by:	Absolight
2015-04-27 14:32:09 +00:00

11 lines
396 B
Perl

--- lib/Pod/Perldoc/ToMan.pm.orig 2015-02-12 03:08:10 UTC
+++ lib/Pod/Perldoc/ToMan.pm
@@ -63,7 +63,7 @@ sub init {
sub _roffer_candidates {
my( $self ) = @_;
- if( $self->is_openbsd || $self->is_bitrig ) { qw( mandoc groff nroff ) }
+ if( $self->is_openbsd || $self->is_freebsd || $self->is_bitrig ) { qw( mandoc groff nroff ) }
else { qw( groff nroff mandoc ) }
}