[Bug 251191] Mk/Uses/ninja.mk: 'USES=cmake emacs' results in build error with ninja

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 5 23:46:10 BST 2022


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251191

--- Comment #10 from commit-hook at FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=07ebebf97e7cc575bc90b37f5d46097179201285

commit 07ebebf97e7cc575bc90b37f5d46097179201285
Author:     Adriaan de Groot <adridg at FreeBSD.org>
AuthorDate: 2022-05-05 22:23:35 +0000
Commit:     Adriaan de Groot <adridg at FreeBSD.org>
CommitDate: 2022-05-05 22:45:34 +0000

    USES=cmake: be explicit about incompatibilities with ninja

    Document how `USES=gmake` and `USES=emacs` are incompatible with
    the default `USES=cmake` behavior of using ninja as generator.
    Using a naive `USES=cmake emacs` line used to get you a strange
    ninja error when ${MAKE_ARGS} is passed to it, now there is a
    meaningful error message beforehand.

    The linked PR examines ways to make it "just work", but that
    got bogged down. Do a partial fix so it is easier to track
    down next time.

    PR:             251191

 Mk/Uses/cmake.mk | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kde-freebsd mailing list