HomeFreeBSD

pkgbase: Fix building out-of-tree manual pages

Description

pkgbase: Fix building out-of-tree manual pages

c7e6cb9e08d6 introduced MK_MANSPLITPKG but it was not available for
building out-of-tree manual pages. For example, x11/nvidia-driver fails
with the following error:

> doc (all)

make[3]: "/usr/share/mk/bsd.man.mk" line 53: Malformed conditional (${MK_MANSPLITPKG} == "no")
make[3]: Fatal errors encountered -- cannot continue

Move the definition from src.opts.mk to bsd.opts.mk to make it visible.

(cherry picked from commit 6827435548d257c672f934db5c6ff01012d96995)

Details

Provenance
jkimAuthored on Mar 16 2021, 6:16 PM
manuCommitted on Aug 19 2021, 7:08 AM
Parents
rG09d4fe40e039: Fix race between first rand(3) calls with _once().
Branches
Unknown
Tags
Unknown