
supply ${DESTDIR} as part of the command line argument in src/share/man/Makefile, and use that modified $MANPATH to find makewhatis.sed.
supply ${DESTDIR} as part of the command line argument in src/share/man/Makefile, and use that modified $MANPATH to find makewhatis.sed.