]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pkgbase: Fix building out-of-tree manual pages
authorJung-uk Kim <jkim@FreeBSD.org>
Tue, 16 Mar 2021 18:16:10 +0000 (14:16 -0400)
committerEmmanuel Vadot <manu@FreeBSD.org>
Thu, 19 Aug 2021 07:08:06 +0000 (09:08 +0200)
commit17fe7de111dd9df3ab047f9f7a7dcdb670aecc74
tree5385046d2b60cd18189be7f68f6da87cbd757759
parent09d4fe40e039d4b08a034454c36aed86571725b0
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)
share/mk/bsd.opts.mk