Re: [PATCH] usr.bin/which/Makefile: Allow build without presence of whereis.1 when NOMAN is set

2015-01-04 Thread Riley Baird
On 05/01/15 11:41, Theo de Raadt wrote: >> On 05/01/15 11:17, Theo de Raadt wrote: >>>> On Sun, Jan 4, 2015 at 12:52 PM, Riley Baird >>>> wrote: >>>>> Even when building with the NOMAN option, "which" will not build without >>>&g

Re: [PATCH] usr.bin/which/Makefile: Allow build without presence of whereis.1 when NOMAN is set

2015-01-04 Thread Riley Baird
On 05/01/15 11:17, Theo de Raadt wrote: >> On Sun, Jan 4, 2015 at 12:52 PM, Riley Baird >> wrote: >>> Even when building with the NOMAN option, "which" will not build without >>> the manpage whereis.1 being present. >> >> Building from an incom

[PATCH] usr.bin/which/Makefile: Allow build without presence of whereis.1 when NOMAN is set

2015-01-04 Thread Riley Baird
Even when building with the NOMAN option, "which" will not build without the manpage whereis.1 being present. This patch checks to see whether NOMAN is defined, and if not, does not do the tests related to path expansion. Index: usr.bin/which/Makefile =