sync with OpenBSD -current
This commit is contained in:
parent
086d8cf2c2
commit
e53750f3c3
87 changed files with 852 additions and 180 deletions
|
@ -34,7 +34,7 @@ BEGIN {
|
|||
$Is{SunOS4} = $^O eq 'sunos';
|
||||
$Is{Solaris} = $^O eq 'solaris';
|
||||
$Is{SunOS} = $Is{SunOS4} || $Is{Solaris};
|
||||
$Is{BSD} = ($^O =~ /^(?:free|net|open)bsd$/ or
|
||||
$Is{BSD} = ($^O =~ /^(?:free|net|open|sec)bsd$/ or
|
||||
grep( $^O eq $_, qw(bsdos interix dragonfly) )
|
||||
);
|
||||
$Is{Android} = $^O =~ /android/;
|
||||
|
|
|
@ -34,8 +34,8 @@ BEGIN {
|
|||
*is_hpux = $^O =~ m/hpux/ ? \&TRUE : \&FALSE unless defined &is_hpux;
|
||||
*is_openbsd = $^O =~ m/openbsd/ ? \&TRUE : \&FALSE unless defined &is_openbsd;
|
||||
*is_freebsd = $^O =~ m/freebsd/ ? \&TRUE : \&FALSE unless defined &is_freebsd;
|
||||
*is_secbsd = $^O =~ m/secbsd/ ? \&TRUE : \&FALSE unless defined &is_secbsd;
|
||||
*is_bitrig = $^O =~ m/bitrig/ ? \&TRUE : \&FALSE unless defined &is_bitrig;
|
||||
*is_secbsd = $^O =~ m/bitrig/ ? \&TRUE : \&FALSE unless defined &is_secbsd;
|
||||
}
|
||||
|
||||
sub _perldoc_elem {
|
||||
|
|
|
@ -63,7 +63,7 @@ sub init {
|
|||
sub _roffer_candidates {
|
||||
my( $self ) = @_;
|
||||
|
||||
if( $self->is_openbsd || $self->is_freebsd || $self->is_bitrig ) { qw( mandoc groff nroff ) }
|
||||
if( $self->is_openbsd || $self->is_freebsd || $self->is_bitrig || $self->is_secbsd ) { qw( mandoc groff nroff ) }
|
||||
else { qw( groff nroff mandoc ) }
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue