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
This commit is contained in:
Tobias C. Berner 2017-06-25 21:07:58 +00:00
parent 9c92503171
commit 5e373eaa92
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=444324
114 changed files with 250 additions and 121 deletions

14
CHANGES
View File

@ -10,6 +10,20 @@ in the release notes and/or placed into UPDATING.
All ports committers are allowed to commit to this file.
20170625:
AUTHOR: kde@FreeBSD.org
The default generator for USES=cmake ports has been switched to ninja.
Previously it was possible to opt-in to using ninja instead of make(1)
by setting CMAKE_NINJA, now ports need to opt-out.
Ports that do not build with ninja must switch from
USES=cmake:<args>
to
USES=cmake:<args>,noninja
20170417:
AUTHOR: kwm@FreeBSD.org

View File

@ -4,9 +4,18 @@
#
# Feature: cmake
# Usage: USES=cmake or USES=cmake:ARGS
# Valid ARGS: outsource
# Valid ARGS: outsource, run, noninja
# ARGS description:
# outsource perform an out-of-source build
# noninja don't use ninja instead of make
# Setting this should be an exception, and hints to an issue
# inside the ports build system.
# A few corner cases never use ninja, and are handled, to reduce
# the usage of 'noninja'.:
# 1) fortran ports
# 2) ports that set BUILD_- or INSTALL_WRKSRC to
# something different than CONFIGURE_WRKSRC
# run add a runtime dependency on cmake
#
#
# Additional variables that affect cmake behaviour:
@ -14,7 +23,6 @@
# User defined variables:
# CMAKE_NOCOLOR - Disable colour build output
# Default: not set, unless BATCH or PACKAGE_BUILDING is defined
# CMAKE_NINJA - Use ninja instead of make(1)
#
# Variables for ports:
# CMAKE_ARGS - Arguments passed to cmake
@ -36,7 +44,7 @@
.if !defined(_INCLUDE_USES_CMAKE_MK)
_INCLUDE_USES_CMAKE_MK= yes
_valid_ARGS= outsource run
_valid_ARGS= outsource run noninja
# Sanity check
.for arg in ${cmake_ARGS}
@ -91,10 +99,6 @@ CMAKE_NOCOLOR= yes
CMAKE_ARGS+= -DCMAKE_COLOR_MAKEFILE:BOOL=OFF
.endif
.if defined(CMAKE_NINJA)
.include "${USESDIR}/ninja.mk"
.endif
_CMAKE_MSG= "===> Performing in-source build"
CMAKE_SOURCE_PATH?= ${WRKSRC}
@ -106,6 +110,20 @@ INSTALL_WRKSRC?= ${CONFIGURE_WRKSRC}
TEST_WRKSRC?= ${CONFIGURE_WRKSRC}
.endif
# By default we use the ninja generator.
# Except, if cmake:run is set (cmake not wanted as generator)
# fortran is used, as the ninja-generator does not handle it.
# or if CONFIGURE_WRKSRC does not match BUILD_WRKSRC or INSTALL_WRKSRC
# as the build.ninja file won't be where ninja expects it.
.if empty(cmake_ARGS:Mnoninja) && empty(cmake_ARGS:Mrun) && empty(USES:Mfortran)
. if "${CONFIGURE_WRKSRC}" == "${BUILD_WRKSRC}" && "${CONFIGURE_WRKSRC}" == "${INSTALL_WRKSRC}"
. if ! empty(USES:Mgmake)
BROKEN= USES=gmake is incompatible with cmake's ninja-generator
. endif
. include "${USESDIR}/ninja.mk"
. endif
.endif
.if !target(do-configure)
do-configure:
@${ECHO_MSG} ${_CMAKE_MSG}

View File

@ -181,7 +181,7 @@ SANITY_DEPRECATED= PYTHON_PKGNAMESUFFIX USE_AUTOTOOLS \
USE_MYSQL WANT_MYSQL_VER \
USE_PHPIZE WANT_PHP_CLI WANT_PHP_CGI WANT_PHP_MOD \
WANT_PHP_WEB WANT_PHP_EMB
SANITY_NOTNEEDED= WX_UNICODE
SANITY_NOTNEEDED= CMAKE_NINJA WX_UNICODE
USE_AUTOTOOLS_ALT= USES=autoreconf and GNU_CONFIGURE=yes
USE_OPENAL_ALT= USES=openal
@ -217,6 +217,7 @@ PYTHON_PKGNAMESUFFIX_ALT= PYTHON_PKGNAMEPREFIX
NO_INSTALL_MANPAGES_ALT= USES=imake:noman
UNIQUENAME_ALT= PKGBASE
LATEST_LINK_ALT= PKGBASE
CMAKE_NINJA_REASON= Now the ninja generator is the default
WX_UNICODE_REASON= Now no-op as only unicode is supported now
PLIST_DIRSTRY_ALT= PLIST_DIRS
USE_SQLITE_ALT= USES=sqlite

View File

@ -10,7 +10,7 @@ COMMENT= Virtual globe and world atlas for KDE
LIB_DEPENDS= libquazip.so:archivers/quazip
USES= cmake:outsource gmake kde:4 shared-mime-info tar:xz
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 \

View File

@ -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 \

View File

@ -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

View File

@ -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

View File

@ -19,7 +19,7 @@ RUN_DEPENDS= xpdf:graphics/xpdf
CONFLICTS= kicad-devel*
USES= cmake compiler:gcc-c++11-lib desktop-file-utils dos2unix \
USES= cmake:noninja compiler:gcc-c++11-lib desktop-file-utils dos2unix \
shared-mime-info tar:xz
DOS2UNIX_GLOB= *.cmake sch_bus_entry.h sch_line.h sch_no_connect.h

View File

@ -21,7 +21,7 @@ RUN_DEPENDS= bash:shells/bash
# Check ${WRKSRC}/dox/overview/Overview.md
# and ${WRKSRC}/dox/dev_guides/building
USES= alias:10 bison cmake compiler:c++11-lib dos2unix gmake \
USES= alias:10 bison cmake compiler:c++11-lib dos2unix \
shebangfix tk tar:tgz
USE_XORG= xmu
DOS2UNIX_FILES= adm/templates/*

View File

@ -32,7 +32,7 @@ GH_ACCOUNT= ${GH_PROJECT}
CMAKE_SOURCE_PATH= ${WRKSRC}/SuperProject
CMAKE_INSTALL_PREFIX= ${STAGEDIR}${PREFIX}
USES= cmake:outsource compiler:gcc-c++11-lib jpeg
USES= cmake:outsource,noninja compiler:gcc-c++11-lib jpeg
CMAKE_ARGS= -DVSP_USE_SYSTEM_CMINPACK:BOOLEAN=yes \
-DVSP_USE_SYSTEM_CPPTEST:BOOLEAN=yes \

View File

@ -39,7 +39,7 @@ USE_GNOME= pango intltool libxml2 introspection
USE_KDE= ecm
USE_XORG= x11 xext xkbfile sm ice
USE_LDCONFIG= yes
USES= tar:xz cmake desktop-file-utils execinfo \
USES= tar:xz cmake:noninja desktop-file-utils execinfo \
gettext-tools:build,run gettext-runtime iconv:wchar_t \
kde:5 pkgconfig shared-mime-info
INSTALLS_ICONS= yes

View File

@ -20,7 +20,7 @@ CMAKE_ARGS= -DSYSCONF_INSTALL_DIR=${PREFIX}/etc \
-DLIB_DIR=${PREFIX}/lib
LDFLAGS+= -L${LOCALBASE}/lib
GLIB_SCHEMAS= org.freedesktop.IBus.Chewing.gschema.xml
USES= cmake gettext pkgconfig
USES= cmake:noninja gettext pkgconfig
USE_GNOME= gtk20
USE_XORG= xtst

View File

@ -26,7 +26,7 @@ CONFLICTS= usrp-[0-9]*
BROKEN_powerpc64= fails to link: undefined reference to boost function
USES= compiler:c++0x cmake:outsource gmake ncurses pkgconfig \
USES= compiler:c++0x cmake:outsource ncurses pkgconfig \
dos2unix python:2.7 shebangfix
USE_LDCONFIG= yes
CMAKE_SOURCE_PATH= ${WRKSRC}/host

View File

@ -17,7 +17,7 @@ BUILD_DEPENDS= ${LOCALBASE}/include/boost/tuple/tuple.hpp:devel/boost-libs \
orcc:devel/orc \
sdcc:lang/sdcc
USES= compiler:c++0x cmake:outsource gmake pkgconfig python:run \
USES= compiler:c++0x cmake:outsource,noninja gmake pkgconfig python:run \
dos2unix shebangfix
COMPILER_FEATURES= libc++
USE_LDCONFIG= yes

View File

@ -41,7 +41,7 @@ SQLITE3_INTERNAL_DESC= Link SQLite 3 backend into CppDB
SQLITE3_MODULE_DESC= Build SQLite 3 backend as a CppDB module
USE_LDCONFIG= yes
USES= cmake:outsource ninja tar:bzip2
USES= cmake:outsource tar:bzip2
.include <bsd.port.options.mk>

View File

@ -30,7 +30,7 @@ LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \
PORTSCOUT= limitw:1,even
USES= bdb:5 cmake compiler:c++11-lib gettext gnome gperf \
iconv localbase ninja pathfix pkgconfig python:3.3+,build\
iconv localbase pathfix pkgconfig python:3.3+,build\
sqlite tar:xz
USE_GNOME= cairo gdkpixbuf2 gtk30 intltool introspection:build libxml2
USE_LDCONFIG= yes

View File

@ -29,7 +29,7 @@ SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
SLAVEDIRS= databases/mariadb100-client
USES= bison:build cmake compiler:c++11-lib cpe execinfo \
USES= bison:build cmake:noninja compiler:c++11-lib cpe execinfo \
ncurses shebangfix ssl
USE_LDCONFIG= ${PREFIX}/lib/mysql ${PREFIX}/lib/mysql/plugin
SHEBANG_FILES= scripts/*.sh

View File

@ -24,7 +24,7 @@ SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
SLAVEDIRS= databases/mariadb55-client
USES= cmake execinfo shebangfix ssl
USES= cmake:noninja execinfo shebangfix ssl
USE_LDCONFIG= ${PREFIX}/lib/mysql
SHEBANG_FILES= scripts/*.sh sql-bench/[a-km-z]*

View File

@ -14,7 +14,7 @@ COMMENT?= Multithreaded SQL database (server)
LICENSE= GPLv2
SLAVEDIRS= databases/mysql55-client
USES= cmake readline shebangfix
USES= cmake:noninja readline shebangfix
CXXFLAGS+= ${CPPFLAGS}
NO_OPTIONS_SORT=yes

View File

@ -13,7 +13,7 @@ COMMENT?= Multithreaded SQL database (server)
LICENSE= GPLv2
SLAVEDIRS= databases/mysql56-client
USES= bison:build cmake:outsource compiler:c11 compiler:c++11-lib \
USES= bison:build cmake:outsource,noninja compiler:c11 compiler:c++11-lib \
cpe libedit localbase perl5 shebangfix ssl
USE_PERL5= run

View File

@ -16,7 +16,7 @@ LICENSE= GPLv2
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
SLAVEDIRS= databases/mysql57-client
USES= bison:build cmake:outsource compiler:c11 compiler:c++11-lib \
USES= bison:build cmake:outsource,noninja compiler:c11 compiler:c++11-lib \
cpe libedit localbase perl5 shebangfix ssl
USE_PERL5= run

View File

@ -18,7 +18,7 @@ LICENSE= GPLv2
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}${DISTVERSIONSUFFIX}
SLAVEDIRS= databases/mysql80-client
USES= bison:build cmake:outsource compiler:c11 compiler:c++11-lib \
USES= bison:build cmake:outsource,noninja compiler:c11 compiler:c++11-lib \
cpe libedit localbase perl5 shebangfix ssl
USE_PERL5= run

View File

@ -22,7 +22,7 @@ DATADIR= ${PREFIX}/share/mysql
NOT_FOR_ARCHS= aarch64 armv6 powerpc64
NOT_FOR_ARCHS_REASON= error: Unsupported platform
USES= cmake:outsource libedit shebangfix perl5
USES= cmake:outsource,noninja libedit shebangfix perl5
USE_PERL5= run
USE_LDCONFIG= yes

View File

@ -12,7 +12,7 @@ MAINTAINER= flo@FreeBSD.org
COMMENT?= Multithreaded SQL database (server)
SLAVEDIRS= databases/percona55-client
USES= bison cmake readline shebangfix
USES= bison cmake:noninja readline shebangfix
CXXFLAGS+= ${CPPFLAGS}

View File

@ -17,7 +17,7 @@ NOT_FOR_ARCHS_REASON= unsupported platform
SLAVEDIRS= databases/percona56-client \
databases/percona-pam-for-mysql
USES= bison cmake perl5 shebangfix
USES= bison cmake:noninja perl5 shebangfix
OPTIONS_DEFINE= OPENSSL FASTMTX INNODBMEMCACHED TOKUDB
OPTIONS_DEFAULT= OPENSSL INNODBMEMCACHED

View File

@ -24,7 +24,7 @@ BROKEN_powerpc64= Does not build
SLAVEDIRS= databases/percona57-client \
databases/percona57-pam-for-mysql
USES= bison:build cmake compiler:c11 compiler:c++11-lib \
USES= bison:build cmake:noninja compiler:c11 compiler:c++11-lib \
cpe libedit localbase perl5 shebangfix
MY_DBDIR= /var/db/mysql

View File

@ -15,7 +15,7 @@ NOT_FOR_ARCHS= armv6 powerpc64 sparc64
NOT_FOR_ARCHS_REASON= fails to build: Unsupported architecture
MAKE_JOBS_UNSAFE=yes
USES= cmake compiler:c++11-lang gettext gmake perl5 readline
USES= cmake:noninja compiler:c++11-lang gettext gmake perl5 readline
USE_LDCONFIG= yes
USE_RC_SUBR= ${PORTNAME}
SUB_FILES= pkg-message

View File

@ -29,7 +29,7 @@ BROKEN_mips64= fails to compile: 'fpsetmask' was not declared in this scope
BROKEN_powerpc64= fails to link: ld: final link failed: Bad value
# autotool is in use for 5.1 builds
USES= alias autoreconf:build cpe gettext cmake libtool perl5 shebangfix
USES= alias autoreconf:build cpe gettext cmake:noninja libtool perl5 shebangfix
CPE_VENDOR= percona
SHEBANG_FILES= storage/innobase/xtrabackup/xbcloud_osenv.sh

View File

@ -9,7 +9,7 @@ MASTER_SITES= KDE/unstable/kdeconnect/${PORTVERSION}/src/
MAINTAINER= yurkis@gmail.com
COMMENT= Support for KDE to interface between your phone and your computer
USES= cmake compiler:c++0x gettext kde:4 tar:xz
USES= cmake:noninja compiler:c++0x gettext kde:4 tar:xz
USE_KDE= kdelibs automoc4 workspace runtime
USE_QT4= corelib gui moc_build qmake_build uic_build rcc_build
USE_LDCONFIG= yes

View File

@ -24,7 +24,7 @@ CONFLICTS_INSTALL= kdepim44-4.*
USE_GNOME= libxml2 libxslt:build
USE_KDE= kdelibs pimlibs kactivities \
akonadi automoc4 soprano nepomuk-widgets baloo
USES= cmake:outsource gmake grantlee:4 iconv kde:4 shebangfix tar:xz
USES= cmake:outsource grantlee:4 iconv kde:4 shebangfix tar:xz
SHEBANG_FILES= agents/mailfilteragent/kconf_update/migrate-kmail-filters.pl \
kalarm/*.pl kmail/kconf_update/*.pl \
libkpgp/kconf_update/kpgp-3.1-upgrade-address-data.pl

View File

@ -14,7 +14,7 @@ LICENSE= GPLv2
LIB_DEPENDS= libinotify.so:devel/libinotify \
libqt5keychain.so:security/qtkeychain-qt5
USES= cmake:outsource compiler:c++11-lib gmake iconv \
USES= cmake:outsource,noninja compiler:c++11-lib gmake iconv \
localbase:ldflags pkgconfig sqlite ssl
USE_QT5= buildtools_build concurrent core dbus gui linguist_build network \
qmake_build sql webkit widgets xml

View File

@ -22,6 +22,7 @@ USE_LDCONFIG= yes
USE_XORG= x11
CMAKE_ARGS= -DBUILD_SHARED_LIBS:BOOL=ON \
-DINSTALL_LIBS:BOOL=ON \
-DBUILD_BULLET2_DEMOS:BOOL=OFF
PORTDOCS= *

View File

@ -21,7 +21,6 @@ CMAKE_SOURCE_PATH= ${WRKSRC}
USES= cmake tar:bzip2
USE_LDCONFIG= yes
MAKE_ARGS= VERBOSE=1
LLVM_SVN= http://llvm.org/svn/llvm-project

View File

@ -15,7 +15,7 @@ COMMENT= Documentation system for C, C++, and other languages
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= bison cmake:outsource iconv python:2 shebangfix
USES= bison cmake:outsource,noninja iconv python:2 shebangfix
ALL_TARGET= all
CMAKE_ARGS+= -DDOC_INSTALL_DIR:PATH=${DOCSDIR_REL}
# Parallel jobs breaks when the DOCS option is on

View File

@ -19,7 +19,7 @@ RUN_DEPENDS= llvm39>=0:devel/llvm39 \
openmp>=0:devel/openmp
USE_LDCONFIG= ${PREFIX}/flang/lib
USES= cmake:outsource compiler:c++11-lib libedit ninja tar:xz perl5 \
USES= cmake:outsource compiler:c++11-lib libedit tar:xz perl5 \
python shebangfix
USE_GNOME+= libxml2

View File

@ -26,7 +26,7 @@ OPTIONS_DEFINE= TESTS
TESTS_DESC= build unit tests for flang
USE_LDCONFIG= ${PREFIX}/flang/lib
USES= cmake:outsource compiler:c++11-lib libedit perl5 tar:xz \
USES= cmake:outsource,noninja compiler:c++11-lib libedit perl5 tar:xz \
shebangfix
_USES_PYTHON?= python:build
USES+= ${_USES_PYTHON}

View File

@ -8,7 +8,7 @@ CATEGORIES= devel kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE template generator
USES= cmake:outsource gmake kde:4 tar:xz
USES= cmake:outsource kde:4 tar:xz
USE_KDE= kdelibs automoc4
USE_QT4= moc_build qmake_build rcc_build uic_build \
corelib dbus declarative

View File

@ -14,7 +14,7 @@ COMMENT= Plugin extensible IDE for KDE
LIB_DEPENDS= libkdevplatforminterfaces.so:devel/kdevplatform
RUN_DEPENDS= gmake:devel/gmake
USES= cmake:outsource compiler:c++11-lib gmake kde:4 \
USES= cmake:outsource compiler:c++11-lib kde:4 \
shared-mime-info tar:xz
USE_KDE= kdelibs workspace automoc4
USE_QT4= qmake_build moc_build uic_build rcc_build \

View File

@ -13,7 +13,7 @@ COMMENT= PHP support for KDevelop
LIB_DEPENDS= libkdevplatforminterfaces.so:devel/kdevplatform
BUILD_DEPENDS= ${KDE_PREFIX}/bin/kdev-pg-qt:devel/kdevelop-pg-qt
USES= cmake:outsource compiler:c++11-lib gmake kde:4 tar:xz
USES= cmake:outsource compiler:c++11-lib kde:4 tar:xz
USE_KDE= kdelibs automoc4
USE_QT4= moc_build qmake_build rcc_build uic_build
MAKE_JOBS_UNSAFE= yes

View File

@ -13,7 +13,7 @@ COMMENT= ZRTP extension for GNU ccRTP
LIB_DEPENDS= libccrtp.so:devel/ccrtp \
libgcrypt.so:security/libgcrypt
USES= cmake pkgconfig ssl
USES= cmake:noninja pkgconfig ssl
CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON \
-DOPENSSL_INCLUDE_DIRS="${OPENSSLINC}" \

View File

@ -17,7 +17,7 @@ COMMAND_SUFFIX= ${LLVM_SUFFIX}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX}
DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX}
USES= cmake:outsource compiler:c++11-lib libedit ninja perl5 \
USES= cmake:outsource compiler:c++11-lib libedit perl5 \
shebangfix
USE_LDCONFIG= ${LLVM_PREFIX}/lib
SHEBANG_FILES= utils/lit/lit.py utils/llvm-lit/llvm-lit.in \

View File

@ -16,7 +16,7 @@ LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX}
DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX}
USES= cmake:outsource compiler:c++11-lib libedit ninja perl5 \
USES= cmake:outsource compiler:c++11-lib libedit perl5 \
shebangfix
USE_LDCONFIG= ${LLVM_PREFIX}/lib
_USES_PYTHON?= python:build

View File

@ -24,7 +24,7 @@ LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX}
DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX}
USES= cmake:outsource compiler:c++11-lib libedit ninja perl5 tar:xz \
USES= cmake:outsource compiler:c++11-lib libedit perl5 tar:xz \
shebangfix
USE_LDCONFIG= ${LLVM_PREFIX}/lib
SHEBANG_FILES= utils/lit/lit.py utils/llvm-lit/llvm-lit.in \

View File

@ -27,7 +27,7 @@ LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX}
DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX}
USES= cmake:outsource compiler:c++11-lib libedit ninja perl5 tar:xz \
USES= cmake:outsource compiler:c++11-lib libedit perl5 tar:xz \
shebangfix
_USES_PYTHON?= python:build
USES+= ${_USES_PYTHON}

View File

@ -27,7 +27,7 @@ LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX}
DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX}
USES= cmake:outsource compiler:c++11-lib libedit ninja perl5 tar:xz \
USES= cmake:outsource compiler:c++11-lib libedit perl5 tar:xz \
shebangfix
_USES_PYTHON?= python:build
USES+= ${_USES_PYTHON}

View File

@ -17,7 +17,7 @@ LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 \
USE_GITHUB= yes
GH_ACCOUNT= mongodb
USES= cmake pkgconfig
USES= cmake:noninja pkgconfig
USE_LDCONFIG= yes
LDFLAGS+= -pthread

View File

@ -36,7 +36,6 @@ EXAMPLES_CMAKE_ON= -DRAPIDJSON_BUILD_EXAMPLES:BOOL=ON
EXAMPLES_CMAKE_OFF= -DRAPIDJSON_BUILD_EXAMPLES:BOOL=OFF
CXXFLAGS+= -Wno-c++98-compat # for EXAMPLES option, due to this bug: https://github.com/miloyip/rapidjson/issues/761
MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
CMAKE_ARGS= -DRAPIDJSON_BUILD_TESTS:BOOL=OFF
DATADIR= ${PREFIX}/share/doc/RapidJSON

View File

@ -16,7 +16,7 @@ BROKEN_armv6= fails to link: cmTC_8106f uses VFP register arguments, testCCompi
SHEBANG_FILES= scripts/highlight-transitions
USES= cmake:outsource execinfo ninja python:run shebangfix
USES= cmake:outsource execinfo python:run shebangfix
USE_GITHUB= yes
GH_ACCOUNT= CTSRD-TESLA

View File

@ -0,0 +1,46 @@
From 5ab73ee82245b586f69762411edc7824d778ee2a Mon Sep 17 00:00:00 2001
From: Chris Kitching <chriskitching@linux.com>
Date: Tue, 15 Nov 2016 10:15:48 +0000
Subject: [PATCH] Rely on BUILD_SHARED_LIBS instead of custom options
Instead of having your own option for choosing between static
and shared versions of the library, use cmake's built-in option
for this:
https://cmake.org/cmake/help/v3.0/variable/BUILD_SHARED_LIBS.html
Set -DBUILD_SHARED_LIBS=ON to get a shared library, and omit it
or set it to OFF to get a static one.
Can add one extra line to the cmake file to make the default be
shared. Makes most of the cmake crap go away.
--- cmake_unofficial/CMakeLists.txt.orig 2016-08-11 18:18:57 UTC
+++ cmake_unofficial/CMakeLists.txt
@@ -6,26 +6,14 @@ project(xxhash)
set(XXHASH_LIB_VERSION "0.42.0")
set(XXHASH_LIB_SOVERSION "0")
-set(BUILD_SHARED_LIBS ON CACHE BOOL "Set to ON to build shared libraries")
-if(BUILD_SHARED_LIBS)
- add_library(xxhash SHARED ../xxhash.c)
- set_target_properties(xxhash PROPERTIES COMPILE_DEFINITIONS "XXHASH_EXPORT"
+add_library(xxhash SHARED ../xxhash.c)
+set_target_properties(xxhash PROPERTIES COMPILE_DEFINITIONS "XXHASH_EXPORT"
VERSION "${XXHASH_LIB_VERSION}"
SOVERSION "${XXHASH_LIB_SOVERSION}")
- LIST(APPEND install_libs xxhash)
-endif(BUILD_SHARED_LIBS)
-set(BUILD_STATIC_LIBS ON CACHE BOOL "Set to ON to build static libraries")
-if(BUILD_STATIC_LIBS)
- add_library(xxhashstatic ../xxhash.c)
- set_target_properties(xxhashstatic PROPERTIES OUTPUT_NAME xxhash)
- LIST(APPEND install_libs xxhashstatic)
-endif(BUILD_STATIC_LIBS)
-
-
INSTALL(FILES ../xxhash.h DESTINATION include)
INSTALL(
- TARGETS ${install_libs}
+ TARGETS xxhash
RUNTIME DESTINATION bin
ARCHIVE DESTINATION lib
LIBRARY DESTINATION lib

View File

@ -19,7 +19,7 @@ BROKEN_armv6= fails to configure: has leading or trailing whitespace. This is
USE_GITHUB= yes
GH_ACCOUNT= eranif
USES= cmake:outsource compiler:c++11-lib dos2unix execinfo gettext \
USES= cmake:outsource,noninja compiler:c++11-lib dos2unix execinfo gettext \
pathfix shebangfix sqlite
USE_GNOME+= cairo gtk20
DOS2UNIX_GLOB= *.cpp *.txt

View File

@ -18,7 +18,7 @@ LIB_DEPENDS= libaspell.so:textproc/aspell \
libclang.so:devel/llvm40
USE_GNOME= gdkpixbuf2 gtkmm30 gtksourceviewmm3
USES= cmake:outsource desktop-file-utils ninja pkgconfig
USES= cmake:outsource desktop-file-utils pkgconfig
INSTALLS_ICONS= yes
USE_GITHUB= yes

View File

@ -9,7 +9,7 @@ DISTNAME= kate-${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= Support for Python plugins in Kate
USES= cmake:outsource kde:4 python tar:xz
USES= cmake:outsource,noninja kde:4 python tar:xz
USE_KDE= kdelibs automoc4 kate \
pykde4_build pykde4_run
USE_QT4= gui webkit \

View File

@ -21,7 +21,7 @@ LIB_DEPENDS= libunibilium.so:devel/unibilium \
libuv.so:devel/libuv \
libmsgpackc.so:devel/msgpack
USES= cmake:outsource gettext iconv ninja lua:build pathfix pkgconfig
USES= cmake:outsource gettext iconv lua:build pathfix pkgconfig
USE_GITHUB= yes
GH_TUPLE= libmpack:libmpack:1.0.5:libmpack \
libmpack:libmpack-lua:1.0.6:libmpack_lua

View File

@ -17,7 +17,7 @@ LICENSE_COMB= multi
LIB_DEPENDS= libphysfs.so:devel/physfs
USES= cmake desktop-file-utils lua:51 tar:bzip2
USES= cmake:noninja desktop-file-utils lua:51 tar:bzip2
USE_SDL= sdl mixer image ttf net
USE_FPC= opengl libpng rtl-objpas
USE_QT4= corelib gui moc_build network \

View File

@ -23,7 +23,7 @@ LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
BROKEN_powerpc64= fails to compile: C4Texture.cpp:260:13: error: 'stoul' is not a member of 'std'
USES= compiler:c++14-lang cmake desktop-file-utils jpeg pkgconfig tar:bzip2
USES= compiler:c++14-lang cmake:noninja desktop-file-utils jpeg pkgconfig tar:bzip2
USE_GL= glew
USE_GNOME= gtk30
USE_SDL= sdl mixer

View File

@ -23,7 +23,7 @@ LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
USE_GITHUB= yes
GH_ACCOUNT= OpenMW
USES= cmake:outsource compiler:c++14-lang ninja openal pkgconfig
USES= cmake:outsource compiler:c++14-lang openal pkgconfig
USE_GL= gl
USE_QT5= qmake_build buildtools_build core gui network opengl \
printsupport widgets

View File

@ -20,7 +20,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE_GNU_GPL_2.txt
LIB_DEPENDS= libosg.so:graphics/osg
USES= alias cmake lua:51 tar:xz
USES= alias cmake:noninja lua:51 tar:xz
USE_GL= gl
MISC_VER= 20091027

View File

@ -23,7 +23,7 @@ MAKE_ARGS+= DESTDIR=${STAGEDIR}
USE_QT5= buildtools_build core gui linguisttools_build widgets
USE_SDL= sdl2 ttf2 image2
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= cmake qmake compiler:c++11-lib openal
USES= cmake:noninja qmake compiler:c++11-lib openal
USE_LDCONFIG= yes
.include <bsd.port.mk>

View File

@ -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

View File

@ -45,7 +45,7 @@ GH_TUPLE+= aseprite:laf:e6d79aa:laf/laf
GH_TUPLE+= aseprite:stringencoders:f963507:stringencoders/laf/third_party/stringencoders
GH_TUPLE+= dacap:observable:27fa7f6:observable/src/observable
USES= cmake:outsource compiler:c++11-lib jpeg ninja pkgconfig
USES= cmake:outsource compiler:c++11-lib jpeg pkgconfig
USE_XORG= x11 xcursor xext xpm ice pixman sm xxf86dga xxf86vm
USE_LDCONFIG= yes

View File

@ -27,7 +27,7 @@ ONLY_FOR_ARCHS= amd64 arm64
ONLY_FOR_ARCHS_REASON= uses SSE instructions and 64-bit address space
USES= cmake:outsource compiler:c++11-lib desktop-file-utils \
jpeg ninja pkgconfig sqlite tar:xz
jpeg pkgconfig sqlite tar:xz
USE_GL= glu
USE_GNOME= cairo gtk30 intltool librsvg2 libxml2
USE_XORG= ice sm x11 xext xrandr

View File

@ -118,7 +118,7 @@ LICENSE?= GPLv2
USES+= tar:bzip2
.if !defined(NO_BUILD)
USES+= cmake kde:4
USES+= cmake:noninja kde:4
USE_KDE+= automoc4 kdelibs
USE_QT4+= qmake_build moc_build rcc_build uic_build

View File

@ -0,0 +1,59 @@
From 8eed7012c10f1a835385d750fd55f228d1d35df9 Mon Sep 17 00:00:00 2001
From: Ralph Potter <r.potter@bath.ac.uk>
Date: Wed, 5 Nov 2014 16:16:55 +0000
Subject: [PATCH] Resolve dependency issue building eLut.h/toFloat.h with
CMake/Ninja.
---
IlmBase/Half/CMakeLists.txt | 23 +++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)
diff --git a/IlmBase/Half/CMakeLists.txt b/IlmBase/Half/CMakeLists.txt
index 6f9714d..958d1b0 100644
--- Half/CMakeLists.txt
+++ Half/CMakeLists.txt
@@ -1,23 +1,24 @@
# yue.nicholas@gmail.com
ADD_EXECUTABLE ( eLut eLut.cpp )
-
-ADD_CUSTOM_COMMAND (
- TARGET eLut POST_BUILD
- COMMAND eLut > ${CMAKE_CURRENT_BINARY_DIR}/eLut.h
+ADD_CUSTOM_COMMAND(
+ OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/eLut.h
+ COMMAND eLut ARGS > ${CMAKE_CURRENT_BINARY_DIR}/eLut.h
+ DEPENDS eLut
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
-)
+ )
SET_SOURCE_FILES_PROPERTIES(
${CMAKE_CURRENT_BINARY_DIR}/eLut.h
PROPERTIES HEADER_FILE_ONLY TRUE
)
ADD_EXECUTABLE ( toFloat toFloat.cpp )
-ADD_CUSTOM_COMMAND (
- TARGET toFloat POST_BUILD
- COMMAND toFloat > ${CMAKE_CURRENT_BINARY_DIR}/toFloat.h
+ADD_CUSTOM_COMMAND(
+ OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/toFloat.h
+ COMMAND toFloat ARGS > ${CMAKE_CURRENT_BINARY_DIR}/toFloat.h
+ DEPENDS toFloat
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
-)
+ )
SET_SOURCE_FILES_PROPERTIES(
${CMAKE_CURRENT_BINARY_DIR}/toFloat.h
PROPERTIES HEADER_FILE_ONLY TRUE
@@ -27,9 +28,7 @@ SET_SOURCE_FILES_PROPERTIES(
half.cpp
PROPERTIES
OBJECT_DEPENDS
- ${CMAKE_CURRENT_BINARY_DIR}/eLut.h
- OBJECT_DEPENDS
- ${CMAKE_CURRENT_BINARY_DIR}/toFloat.h
+ "${CMAKE_CURRENT_BINARY_DIR}/eLut.h;${CMAKE_CURRENT_BINARY_DIR}/toFloat.h"
)
IF(BUILD_SHARED_LIBS)

View File

@ -32,7 +32,7 @@ LIB_DEPENDS= libpopt.so:devel/popt \
USE_GNOME= gtkmm24 libxml2 libxslt
USES= compiler:c++11-lib cmake cpe desktop-file-utils gnome \
iconv:wchar_t ninja jpeg pathfix pkgconfig python:2,build \
iconv:wchar_t jpeg pathfix pkgconfig python:2,build \
shebangfix tar:bzip2
USE_XORG= x11
INSTALLS_ICONS= yes

View File

@ -28,7 +28,7 @@ CONFLICTS_INSTALL?= ${PORTNAME}14-1.4*
ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON= uses SSE instructions
USES+= bison cmake python:build tar:bzip2
USES+= bison cmake:noninja python:build tar:bzip2
USE_GL= glu
WRKSRC= ${WRKDIR}/${PORTNAME}-lux-${LUX_REV}

View File

@ -48,7 +48,6 @@ post-patch:
post-install:
# XXX: palliative; better fix installation routine not to pollute ${STAGEDIR}
@${RMDIR} ${STAGEDIR}${PREFIX}/share/mitsuba/data/ior/CMakeFiles/ior_database.dir
@${RMDIR} ${STAGEDIR}${PREFIX}/share/mitsuba/data/ior/CMakeFiles
.include <bsd.port.mk>

View File

@ -20,7 +20,7 @@ GH_PROJECT= OpenSubdiv
USE_LDCONFIG= yes
USE_GL= glew
USES= cmake:outsource compiler pkgconfig
USES= cmake:outsource,noninja compiler pkgconfig
USE_XORG= x11 xi xcursor xrandr xxf86vm xinerama
CMAKE_ARGS+= -DNO_TUTORIALS:BOOL=ON -DNO_EXAMPLES:BOOL=ON \

View File

@ -132,12 +132,6 @@ FORCE_REQUIRE= Threads OpenGL X11 JPEG PNG TIFF ZLIB # common & lightweight
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 && ${OSVERSION} < 1100000
# workaround for make (?) problem leading to cflags
# lost in osgjs
USES+= gmake
.endif
.if ${PORT_OPTIONS:MQT4} || ${PORT_OPTIONS:MQT5}
CMAKE_ARGS+= -DOSG_USE_QT:BOOL=ON
PLIST_SUB+= QT=""

View File

@ -21,7 +21,7 @@ USE_GITHUB= yes
GH_ACCOUNT= gwaldron
USE_LDCONFIG= yes
USES= cmake gmake pkgconfig sqlite
USES= cmake pkgconfig sqlite
PLIST_SUB= OSGVERSION=3.4.0
CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH:PATH=${LOCALBASE}/include \

View File

@ -48,7 +48,6 @@ CMAKE_ARGS+= -DDOCDIR="${DOCSDIR}" \
# any more. The CMP0056 policy must be explicitly set to NEW to ensure
# linker flags are passed. Else -lomp is not found with clang.
# See: https://cmake.org/cmake/help/v3.4/policy/CMP0056.html
CMAKE_NINJA= yes
INSTALLS_ICONS= yes

View File

@ -22,7 +22,7 @@ BROKEN_powerpc64= fails to link: libOGDF.so: undefined reference to CoinPackedVe
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= cmake:outsource compiler:c++11-lib dos2unix execinfo jpeg python \
USES= cmake:outsource,noninja compiler:c++11-lib dos2unix execinfo jpeg python \
shebangfix
SHEBANG_FILES= tulip-config.in
DOS2UNIX_FILES= software/tulip/src/main.cpp

View File

@ -12,7 +12,7 @@ COMMENT= Library that allows to defer selection of an OpenGL API until runtime
LICENSE= BSD2CLAUSE
USES= cmake:outsource compiler:c11 localbase ninja pathfix pkgconfig tar:xz
USES= cmake:outsource compiler:c11 localbase pathfix pkgconfig tar:xz
USE_GL= egl gl
USE_LDCONFIG= yes
USE_XORG= x11 xcb

View File

@ -18,7 +18,7 @@ GH_ACCOUNT= j-jorge
GH_TAGNAME= d72ba82
# option NLS (for gettext) is wrong as this port allways needs NLS:
USES= libtool cmake gmake iconv pkgconfig perl5 gettext
USES= libtool cmake:noninja gmake iconv pkgconfig perl5 gettext
USE_PERL5= build run
GNU_CONFIGURE= yes
USE_LDCONFIG= yes

View File

@ -16,7 +16,7 @@ LIB_DEPENDS+= libcurl.so:ftp/curl \
libgcrypt.so:security/libgcrypt \
libgpg-error.so:security/libgpg-error
USES= cmake:outsource ncurses tar:xz
USES= cmake:outsource,noninja ncurses tar:xz
USE_LDCONFIG= yes
CMAKE_ARGS+= -DENABLE_GUILE=no \

View File

@ -23,7 +23,7 @@ RUN_DEPENDS= opencl>=0:devel/opencl \
WRKSRC= ${WRKDIR}/Beignet-${PORTVERSION}-Source
USES= cmake gmake ncurses pkgconfig shebangfix
USES= cmake ncurses pkgconfig shebangfix
USE_XORG= sm ice x11 xext xfixes
USE_GL= gl egl
USE_LDCONFIG= ${LOCALBASE}/lib/${PORTNAME}

View File

@ -17,7 +17,7 @@ USE_GITHUB= yes
GH_ACCOUNT= stevedekorte
GH_TAGNAME= 23afbcc
USES= cmake:outsource compiler:c11
USES= cmake:outsource,noninja compiler:c11
MAKE_JOBS_UNSAFE=yes
USE_LDCONFIG= yes

View File

@ -20,7 +20,7 @@ LIB_DEPENDS= libffi.so:devel/libffi \
libgc-threaded.so:devel/boehm-gc-threaded
USE_LDCONFIG= yes
USES= cmake gmake pkgconfig
USES= cmake pkgconfig
ONLY_FOR_ARCHS= amd64 i386
MAKE_JOBS_UNSAFE= yes

View File

@ -23,7 +23,7 @@ RUN_DEPENDS= evolution>=3.0.0:mail/evolution
PORTSCOUT= limitw:1,even
USES= bdb:5 cmake ninja gettext gnome localbase pathfix \
USES= bdb:5 cmake gettext gnome localbase pathfix \
pkgconfig sqlite tar:xz
USE_GNOME= cairo gdkpixbuf2 evolutiondataserver3 intltool

View File

@ -41,7 +41,7 @@ RUN_DEPENDS= highlight:textproc/highlight \
PORTSCOUT= limitw:1,even
USES= desktop-file-utils cmake gettext gnome iconv:wchar_t \
sqlite libarchive ninja localbase pathfix pkgconfig tar:xz
sqlite libarchive localbase pathfix pkgconfig tar:xz
USE_GNOME= cairo evolutiondataserver3 gnomedesktop3 intltool
GNU_CONFIGURE= yes
USE_XORG= x11

View File

@ -12,7 +12,7 @@ COMMENT= Lightweight C mime library
LICENSE= MIT
USES= bison cmake pkgconfig
USES= bison cmake:noninja pkgconfig
USE_LDCONFIG= yes
CMAKE_ARGS= --no-warn-unused-cli

View File

@ -20,7 +20,7 @@ USE_GITHUB= yes
GH_ACCOUNT= kisli
GH_PROJECT= vmime
USES= cmake:outsource compiler:c++11-lib iconv pkgconfig
USES= cmake:outsource,noninja compiler:c++11-lib iconv pkgconfig
USE_LDCONFIG= yes
CMAKE_ARGS= -DLIB_SUFFIX:STRING="" \

View File

@ -12,7 +12,7 @@ COMMENT= ClamAV plugin for spmfilter
BUILD_DEPENDS= spmfilter>=0.6:mail/spmfilter
RUN_DEPENDS= spmfilter>=0.6:mail/spmfilter
USES= cmake pkgconfig
USES= cmake:noninja pkgconfig
CMAKE_ARGS+= --no-warn-unused-cli \
-DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \
-DCMAKE_LIBRARY_PATH="${LOCALBASE}/lib"

View File

@ -20,7 +20,7 @@ SMFUSER?= nobody
SMFGROUP?= mail
SMFDIR?= /var/spool/spmfilter
USES= cmake pkgconfig
USES= cmake:noninja pkgconfig
CMAKE_ARGS+= --no-warn-unused-cli \
-DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \
-DCMAKE_LIBRARY_PATH="${LOCALBASE}/lib"

View File

@ -14,7 +14,7 @@ LICENSE= APACHE20
CONFLICTS= metis4-4* metis-edf-[0-9]*
USES= cmake
USES= cmake:noninja
OPTIONS_DEFINE= OPENMP SHARED STATIC DOCS

View File

@ -20,7 +20,7 @@ LICENSE_PERMS= auto-accept
OPTIONS_DEFINE= OPENMPI DOCS
OPENMPI_DESC= Use openmpi instead of mpich2
USES= cmake gmake
USES= cmake:noninja gmake
PLIST_FILES= include/parmetis/metis.h \
include/parmetis/parmetis.h \

View File

@ -15,7 +15,7 @@ LICENSE= MIT
LIB_DEPENDS= libboost_program_options.so:devel/boost-libs \
libboost_system.so:devel/boost-libs
USES= bison:build cmake perl5 tar:xz
USES= bison:build cmake:noninja perl5 tar:xz
USE_PERL5= build
CMAKE_ARGS= -DFL_LIBRARY=/usr/lib/libfl.a

View File

@ -19,7 +19,7 @@ USE_QT4= # empty
OPTIONS_FILE= ${PORT_DBDIR}/${OPTIONS_NAME:C/-.*//}/options
USES= cmake:outsource pkgconfig iconv gmake compiler:features sqlite
USES= cmake:outsource,noninja pkgconfig iconv gmake compiler:features sqlite
USES+= dos2unix execinfo
DOS2UNIX_FILES= cmake/admCheckMiscLibs.cmake \
avidemux_core/ADM_coreVideoCodec/include/ADM_coreVideoCodec6_export.h \

View File

@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libboost_thread.so:devel/boost-libs
USES= bison cmake gmake kde:4 pathfix pkgconfig tar:bzip2
USES= bison cmake:noninja gmake kde:4 pathfix pkgconfig tar:bzip2
USE_LDCONFIG= yes
USE_GSTREAMER= yes
USE_GNOME= glib20

View File

@ -67,7 +67,7 @@ GH_ACCOUNT= plexinc
GH_PROJECT= plex-home-theater-public
BUNDLE_LIBS= yes
USES= cmake:outsource execinfo gmake iconv:wchar_t jpeg pkgconfig python:2
USES= cmake:outsource execinfo iconv:wchar_t jpeg pkgconfig python:2
CMAKE_ARGS+= -DENABLE_AUTOUPDATE:BOOL=false
CMAKE_ARGS+= -DENABLE_DUMP_SYMBOLS:BOOL=false
CMAKE_ARGS+= -DENABLE_PYTHON:BOOL=false

View File

@ -40,7 +40,7 @@ USE_GITHUB= yes
GH_TUPLE= zoneminder:ZoneMinder:e723b6d \
FriendsOfCake:crud:c3976f1:crud
USES= cmake jpeg mysql perl5 php shebangfix ssl
USES= cmake:noninja jpeg mysql perl5 php shebangfix ssl
USE_RC_SUBR= zoneminder
USE_PHP= json pdo_mysql session gd sockets ctype

View File

@ -34,7 +34,7 @@ USE_GITHUB= yes
GH_PROJECT= ZoneMinder
GH_TUPLE= FriendsOfCake:crud:c3976f1:crud
USES= cmake jpeg mysql perl5 php shebangfix ssl
USES= cmake:noninja jpeg mysql perl5 php shebangfix ssl
USE_RC_SUBR= zoneminder
USE_PHP= json pdo_mysql session gd sockets ctype opcache

View File

@ -16,7 +16,7 @@ LIB_DEPENDS= libboost_regex.so:devel/boost-libs
BROKEN_sparc64= Does not build: fails to link
USES= cmake iconv ssl
USES= cmake:noninja iconv ssl
WRKSRC= ${WRKDIR}/${DISTNAME}
LICQ_PORT?= net-im/licq

View File

@ -30,7 +30,7 @@ GH_TUPLE+= savoirfairelinux:ring-client-gnome:07107e9
SUB_FILES= pkg-message
USES= cmake compiler:c++14-lang gettext gmake pkgconfig shebangfix sqlite
USES= cmake compiler:c++14-lang gettext pkgconfig shebangfix sqlite
USE_GNOME= evolutiondataserver3 glib20 gtk20 cairo gdkpixbuf2 libxml2 gtk30
USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr xscrnsaver
USE_GL= gl egl

View File

@ -18,7 +18,7 @@ USE_GITHUB= yes
#GH_TUPLE+= savoirfairelinux:ring-lrc:9eaac77
GH_TUPLE+= savoirfairelinux:ring-lrc:cb5ee04
USES= cmake compiler:c++14-lang gmake
USES= cmake compiler:c++14-lang
USE_GNOME= glib20 gtk20 cairo gdkpixbuf2
USE_XORG= x11 xscrnsaver
USE_GL= gl

View File

@ -74,7 +74,7 @@ CMAKE_ARGS= \
-D WITH_CEPHFS:BOOL=OFF \
-D WITH_EMBEDDED:BOOL=OFF
USES= gmake cmake:outsource python:2.7 fuse gettext-runtime shebangfix
USES= gmake cmake:outsource,noninja python:2.7 fuse gettext-runtime shebangfix
SHEBANG_FILES=src/rbdmap src/ceph-post-file.in src/rbd-replay-many \
src/brag/client/ceph-brag src/ceph-rest-api \
src/tools/ceph-monstore-update-crush.sh src/mount.fuse.ceph \

View File

@ -28,7 +28,7 @@ CONFLICTS= tigervnc-devel-[0-9]* \
tightvnc-[0-9]* \
tridiavnc-[0-9]*
USES= autoreconf:build cmake cpe iconv jpeg libtool pkgconfig \
USES= autoreconf:build cmake:noninja cpe iconv jpeg libtool pkgconfig \
python ssl
USE_GL= gl
USE_LDCONFIG= yes

View File

@ -42,7 +42,7 @@ USE_GL= gl
USE_XORG= x11 xt xext ice xdmcp xau xcb xfixes xdamage xxf86vm xrender sm
USE_LDCONFIG= yes
USE_GSTREAMER= yes
USES= alias desktop-file-utils cmake:outsource execinfo gmake jpeg python shebangfix
USES= alias desktop-file-utils cmake:outsource execinfo jpeg python shebangfix
INSTALLS_ICONS= yes
CMAKE_ARGS+= -DBUILD_SHARED_LIBS="ON" \

View File

@ -9,7 +9,7 @@ CATEGORIES= security kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= Password manager for KDE
USES= cmake:outsource gmake kde:4 tar:xz
USES= cmake:outsource kde:4 tar:xz
USE_KDE= automoc4 kdelibs
USE_QT4= qmake_build moc_build rcc_build uic_build

View File

@ -16,7 +16,7 @@ USE_GITHUB= yes
GH_ACCOUNT= wernerd
GH_PROJECT= ZRTPCPP
USES= cmake:outsource compiler:c++11-lib
USES= cmake:outsource,noninja compiler:c++11-lib
USE_CXXSTD= c++11
CMAKE_ARGS= -DCORE_LIB:BOOL=ON
USE_LDCONFIG= yes

View File

@ -14,7 +14,7 @@ CONFLICTS_INSTALL= kde-runtime-4.12.* \
LIB_DEPENDS= libxapian.so:databases/xapian-core \
libqjson.so:devel/qjson
USES= cmake:outsource gmake kde:4 tar:xz
USES= cmake:outsource kde:4 tar:xz
USE_KDE= akonadi automoc4 kdelibs kfilemetadata \
pimlibs
USE_QT4= corelib qmake_build moc_build rcc_build uic_build

Some files were not shown because too many files have changed in this diff Show More