Fabian Homborg 5814b1b8e2 Fix man function for NetBSD
NetBSD's man is unusual in that it doesn't understand an empty
$MANPATH component as "the system man path", and doesn't have a
`manpath` or `man --path`.

It has a `-m` option that would be useful, but other mans also have a
`-m` option that isn't, so detecting it is tough.

It does have a `-p` option that almost does what one would want here,
so we hack around it to make things work.

Fixes #5657.

[ci skip]
2019-02-14 10:57:38 +01:00
..
2016-11-27 21:27:22 -08:00
2018-10-29 13:56:40 -05:00
2016-11-27 21:27:22 -08:00
2018-05-12 13:48:32 +02:00
2016-11-27 21:27:22 -08:00
2016-11-27 21:27:22 -08:00
2017-07-13 11:53:29 -07:00
2016-11-27 21:27:22 -08:00
2016-11-27 21:27:22 -08:00
2017-10-01 01:11:17 -07:00
2019-01-13 16:14:58 -06:00
2016-11-27 21:27:22 -08:00
2018-11-22 12:43:35 +01:00
2016-11-27 21:27:22 -08:00
2018-12-13 21:57:24 +08:00
2016-11-27 21:27:22 -08:00
2016-11-27 21:27:22 -08:00
2016-11-27 21:27:22 -08:00
2019-02-14 10:57:38 +01:00
2016-11-27 21:27:22 -08:00
2018-11-22 12:43:35 +01:00
2018-11-22 12:43:35 +01:00
2017-09-22 00:30:26 -07:00
2017-04-05 15:31:13 -07:00
2016-11-27 21:27:22 -08:00