git: 17fe7de111dd - stable/13 - pkgbase: Fix building out-of-tree manual pages

Emmanuel Vadot manu at FreeBSD.org
Thu Aug 19 07:08:36 UTC 2021


The branch stable/13 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=17fe7de111dd9df3ab047f9f7a7dcdb670aecc74

commit 17fe7de111dd9df3ab047f9f7a7dcdb670aecc74
Author:     Jung-uk Kim <jkim at FreeBSD.org>
AuthorDate: 2021-03-16 18:16:10 +0000
Commit:     Emmanuel Vadot <manu at FreeBSD.org>
CommitDate: 2021-08-19 07:08:06 +0000

    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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/share/mk/bsd.opts.mk b/share/mk/bsd.opts.mk
index 88c73cc6bfe4..934f3d36df77 100644
--- a/share/mk/bsd.opts.mk
+++ b/share/mk/bsd.opts.mk
@@ -76,6 +76,7 @@ __DEFAULT_NO_OPTIONS = \
     INIT_ALL_ZERO \
     INSTALL_AS_USER \
     PIE \
+    MANSPLITPKG \
     RETPOLINE \
     STALE_STAGED
 


More information about the dev-commits-src-all mailing list