diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2017-06-25 21:07:58 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2017-06-25 21:07:58 +0000 |
commit | 5e373eaa92fd3a243e1bc7a8e3eaf114ab1eeabf (patch) | |
tree | 3291541f3b73432c893dec35f4f23770dd07732a /audio | |
parent | 9c92503171817f96d944009b9ea88d3c083c9a45 (diff) | |
download | ports-5e373eaa92fd3a243e1bc7a8e3eaf114ab1eeabf.tar.gz ports-5e373eaa92fd3a243e1bc7a8e3eaf114ab1eeabf.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
Notes
Notes:
svn path=/head/; revision=444324
Diffstat (limited to 'audio')
-rw-r--r-- | audio/csound6/Makefile | 2 | ||||
-rw-r--r-- | audio/fluidsynth/Makefile | 2 | ||||
-rw-r--r-- | audio/libgme/Makefile | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/audio/csound6/Makefile b/audio/csound6/Makefile index 7975916ae21e..0aa21380ccf9 100644 --- a/audio/csound6/Makefile +++ b/audio/csound6/Makefile @@ -23,7 +23,7 @@ BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ LIB_DEPENDS= libsamplerate.so:audio/libsamplerate \ libsndfile.so:audio/libsndfile -USES= alias bison cmake:outsource localbase python:2 +USES= alias bison cmake:outsource,noninja localbase python:2 # math/gmm++ requires c++11 USE_CXXSTD= c++11 CMAKE_ARGS= -DBUILD_CSOUNDVST:BOOL=OFF \ diff --git a/audio/fluidsynth/Makefile b/audio/fluidsynth/Makefile index 961335ca7ec3..4e7d5a616a3e 100644 --- a/audio/fluidsynth/Makefile +++ b/audio/fluidsynth/Makefile @@ -18,7 +18,7 @@ OPTIONS_DEFINE= JACK ALSA DBUS LADSPA LASH PORTAUDIO PULSEAUDIO READLINE \ OPTIONS_DEFAULT= JACK READLINE USE_GNOME= glib20 -USES= cmake pkgconfig ninja tar:bzip2 +USES= cmake pkgconfig tar:bzip2 CMAKE_ARGS= -Denable-ladcca:BOOL=FALSE \ -Denable-midishare:BOOL=FALSE USE_LDCONFIG= yes diff --git a/audio/libgme/Makefile b/audio/libgme/Makefile index fe1bdb7f2b6b..3039db11e8c9 100644 --- a/audio/libgme/Makefile +++ b/audio/libgme/Makefile @@ -11,7 +11,7 @@ COMMENT= Collection of video game music emulators LICENSE= LGPL21+ -USES= cmake dos2unix ninja tar:bzip2 +USES= cmake dos2unix tar:bzip2 USE_LDCONFIG= yes PORTDOCS= changes.txt design.txt gme.txt readme.txt |