Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2021 07:08:35 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 17fe7de111dd - stable/13 - pkgbase: Fix building out-of-tree manual pages
Message-ID:  <202108190708.17J78ZnY088226@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org>
AuthorDate: 2021-03-16 18:16:10 +0000
Commit:     Emmanuel Vadot <manu@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108190708.17J78ZnY088226>