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

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

--- Comment #1 from Antoine Brodin <antoine@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=3Dscons =
+ a
build dependency on gmake.

Can't you use something like this?

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

Also "USES=3Dgmake cmake" is different from "USES=3Dcmake gmake" but it's q=
uite
dirty to rely on this.

--=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-zMHkFUEh3y>