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
33 lines
881 B
Makefile
33 lines
881 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= polkit-kde
|
|
DISTVERSION= 0.0-${PORTDATE}
|
|
PORTREVISION= 4
|
|
CATEGORIES= sysutils kde
|
|
MASTER_SITES= LOCAL/avilla
|
|
PKGNAMEPREFIX= kcm-
|
|
DISTNAME= ${PORTNAME}-kcmodules-1-${PORTDATE}
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Polkit-KDE configuration module
|
|
|
|
LIB_DEPENDS= libpolkit-qt-agent-1.so:sysutils/polkit-qt
|
|
RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/libexec/polkit-kde-authentication-agent-1:sysutils/polkit-kde
|
|
|
|
USES= cmake kde:4 pkgconfig tar:bzip2
|
|
USE_KDE= kdelibs automoc4
|
|
USE_QT4= dbus xml moc_build qmake_build rcc_build uic_build
|
|
USE_LDCONFIG= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-kcmodules-1
|
|
|
|
PORTDATE= 20121008
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's,/usr,${KDE_PREFIX},' \
|
|
-e 's,/etc,${KDE_PREFIX}/etc,' \
|
|
${WRKSRC}/helper/polkitkde1helper.cpp \
|
|
${WRKSRC}/polkitactions/ActionWidget.cpp \
|
|
${WRKSRC}/polkitconfig/kcmpolkitconfig.cpp
|
|
|
|
.include <bsd.port.mk>
|