diff options
author | tcberner <tcberner@FreeBSD.org> | 2017-06-26 05:07:58 +0800 |
---|---|---|
committer | tcberner <tcberner@FreeBSD.org> | 2017-06-26 05:07:58 +0800 |
commit | 19b60f6341c1340c532b32ab42000f8ef533e37c (patch) | |
tree | 3291541f3b73432c893dec35f4f23770dd07732a /games/vavoom | |
parent | cc28d78986356b14cfa92360db6e23f595431254 (diff) | |
download | freebsd-ports-gnome-19b60f6341c1340c532b32ab42000f8ef533e37c.tar.gz freebsd-ports-gnome-19b60f6341c1340c532b32ab42000f8ef533e37c.tar.zst freebsd-ports-gnome-19b60f6341c1340c532b32ab42000f8ef533e37c.zip |
Make ninja opt-out in cmake.mk
Using ninja instead of make (1) can lead to significant speed ups while building.
Therefore switch from having the ninja generator opt-in to having it opt-out.
Previously cmake-ports that wanted to use ninja could set
CMAKE_NINJA=yes
now, ports that do not work with ninja can set
cmake:<existing args>,noninja
Note, that needing this should be an exception and most often points to a broken
cmake of the port.
The ports using cmake were modified
* removed USES=gmake, if ninja is used
* removed MAKE_ARGS, if ninja is used
* added the cmake-argument noninja if necessary
PR: 219629
PR: 213331
Exp-run by: antoine
Reviewed by: rakuco
Differential Revision: https://reviews.freebsd.org/D10748
Diffstat (limited to 'games/vavoom')
-rw-r--r-- | games/vavoom/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/vavoom/Makefile b/games/vavoom/Makefile index 593a867e2c68..1ab26d290533 100644 --- a/games/vavoom/Makefile +++ b/games/vavoom/Makefile @@ -14,7 +14,7 @@ LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png -USES= cmake dos2unix jpeg tar:bzip2 +USES= cmake:noninja dos2unix jpeg tar:bzip2 DOS2UNIX_REGEX= ((.*\.(c|cpp|h|s|asm|inc|vc|ls|acs|cfg|txt|vs|mak|mgw"))$$|\/(makefile\..*|makefile|Makefile)$$) OPTIONS_DEFINE= FLAC LAUNCHER MAD MIKMOD OPENAL OPTIMIZED_CFLAGS VORBIS SDL DOCS |