freebsd-ports/security/libzrtpcppcore/Makefile
Tobias C. Berner 5e373eaa92 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
2017-06-25 21:07:58 +00:00

24 lines
420 B
Makefile

# $FreeBSD$
PORTNAME= libzrtpcppcore
PORTVERSION= 4.6.4
PORTREVISION= 1
DISTVERSIONPREFIX= V
CATEGORIES= security
MAINTAINER= ports@FreeBSD.org
COMMENT= GNU ZRTP library
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/COPYING
USE_GITHUB= yes
GH_ACCOUNT= wernerd
GH_PROJECT= ZRTPCPP
USES= cmake:outsource,noninja compiler:c++11-lib
USE_CXXSTD= c++11
CMAKE_ARGS= -DCORE_LIB:BOOL=ON
USE_LDCONFIG= yes
.include <bsd.port.mk>