Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Oct 2016 09:24:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 213331] USES=gmake can override CMAKE_NINJA=yes
Message-ID:  <bug-213331-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213331

            Bug ID: 213331
           Summary: USES=3Dgmake can override CMAKE_NINJA=3Dyes
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: rakuco@FreeBSD.org
                CC: freebsd-ports-bugs@FreeBSD.org

When a user has CMAKE_NINJA=3Dyes set in /etc/make.conf to use ninja instea=
d of
make to build a CMake-based port, that can be overridden when a port has
USES=3Dgmake after USES=3Dcmake, leading to a build and stage failure.

For example, building x11/kde4-workspace with CMAKE_NINJA=3Dyes causes
Uses/gmake.mk to override MAKE_CMD, and `make build' or `make stage' end up
calling gmake instead of ninja. Since CMake generated build.ninja files, gm=
ake
will not do anything other than printing its version information.

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



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