[Bug 213331] USES=gmake can break CMAKE_NINJA=yes

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Oct 9 15:45:52 UTC 2016


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

--- Comment #1 from Antoine Brodin <antoine at FreeBSD.org> ---
I think that a port should have only 1 USES that sets MAKE_CMD.

If it needs 2 tools, like scons calling gmake, it should have USES=scons + a
build dependency on gmake.

Can't you use something like this?

.if !defined(CMAKE_NINJA)
USES+= gmake
.endif

Also "USES=gmake cmake" is different from "USES=cmake gmake" but it's quite
dirty to rely on this.

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


More information about the kde-freebsd mailing list