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
35 lines
901 B
Makefile
35 lines
901 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= marble
|
|
PORTVERSION= ${KDE4_VERSION}
|
|
PORTREVISION= 1
|
|
CATEGORIES= astro kde kde-kde4
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Virtual globe and world atlas for KDE
|
|
|
|
LIB_DEPENDS= libquazip.so:archivers/quazip
|
|
|
|
USES= cmake:outsource kde:4 shared-mime-info tar:xz
|
|
USE_KDE= kdelibs automoc4
|
|
USE_QT4= corelib dbus declarative designer_build gui network phonon \
|
|
qtestlib script sql svg webkit xml \
|
|
qmake_build moc_build rcc_build uic_build
|
|
USE_LDCONFIG= yes
|
|
MAKE_ENV= XDG_CONFIG_HOME=/dev/null
|
|
CMAKE_ARGS= -DMOBILE:BOOL=FALSE
|
|
|
|
OPTIONS_DEFINE= GPS
|
|
OPTIONS_DEFAULT= GPS
|
|
OPTIONS_SUB= yes
|
|
|
|
GPS_DESC= Support for GPS position provider
|
|
GPS_LIB_DEPENDS= libgps.so:astro/gpsd
|
|
GPS_CMAKE_OFF= -DWITH_libgps:BOOL=FALSE
|
|
|
|
# pre-configure:
|
|
# # Prevent updating MIME during build.
|
|
# ${REINPLACE_CMD} -e '/update_xdg_mimetypes/ d' \
|
|
# ${PATCH_WRKSRC}/data/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|