From 102d219212c24ca10db28fd54df812c662d33763 Mon Sep 17 00:00:00 2001 From: jperkin Date: Fri, 22 Apr 2016 08:04:23 +0000 Subject: Various fixes for the Darwin build. --- x11/kde-runtime4/Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'x11/kde-runtime4/Makefile') diff --git a/x11/kde-runtime4/Makefile b/x11/kde-runtime4/Makefile index 2b8d4863b4d..431ec1fe6f6 100644 --- a/x11/kde-runtime4/Makefile +++ b/x11/kde-runtime4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.63 2016/04/11 17:06:03 jperkin Exp $ +# $NetBSD: Makefile,v 1.64 2016/04/22 08:04:23 jperkin Exp $ DISTNAME= kde-runtime-15.12.0 PKGNAME= ${DISTNAME:S/-1/4-1/} @@ -11,8 +11,13 @@ MASTER_SITES= ${MASTER_SITE_KDE:=applications/15.12.0/src/} # BUILD_MAKE_FLAGS+= VERBOSE=1 CMAKE_ARGS+= -DWITH_LibSSH:BOOL=OFF +.include "../../mk/bsd.prefs.mk" CMAKE_ARGS+= -DLIBLZMA_INCLUDE_DIR:PATH=${BUILDLINK_PREFIX.xz}/include +.if ${OPSYS} == "Darwin" +CMAKE_ARGS+= -DLIBLZMA_LIBRARY:FILEPATH=${BUILDLINK_PREFIX.xz}/lib/liblzma.dylib +.else CMAKE_ARGS+= -DLIBLZMA_LIBRARY:FILEPATH=${BUILDLINK_PREFIX.xz}/lib/liblzma.so +.endif DEPENDS+= htdig>=3.2.0:../../www/htdig DEPENDS+= oxygen-icons-[0-9]*:../../graphics/oxygen-icons @@ -22,7 +27,6 @@ USE_TOOLS+= gmake CFLAGS.SunOS+= -DPORTMAP LDFLAGS.SunOS+= -lsocket -lnsl -.include "../../mk/bsd.prefs.mk" .include "options.mk" # Some files are conditional on 'md5sum' or 'md5' being present. @@ -33,6 +37,12 @@ PLIST.md5= yes . endif .endfor +PLIST_VARS+= polkit x11 +.if ${OPSYS} != "Darwin" +PLIST.polkit= yes +PLIST.x11= yes +.endif + SUBST_CLASSES+= htdig SUBST_STAGE.htdig= post-patch SUBST_MESSAGE.htdig= Fix htdig paths. -- cgit v1.2.3