summaryrefslogtreecommitdiff
path: root/x11/kactivities
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-22 19:59:27 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-22 19:59:27 +0000
commit6efd2b0efae280e38f560444c1fb06fd86a5d867 (patch)
treeb835685e3ebf957b75b743db96f29e0110d0c16b /x11/kactivities
parentee26ee7d664c50bc2e3af92ea358e4ce7e0cc981 (diff)
downloadpkgsrc-6efd2b0efae280e38f560444c1fb06fd86a5d867.tar.gz
Use the native MACOSX_DEPLOYMENT_TARGET to ensure that C++11 support is
properly enabled if available. Fixes C++11 tests and build with clang.
Diffstat (limited to 'x11/kactivities')
-rw-r--r--x11/kactivities/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/x11/kactivities/Makefile b/x11/kactivities/Makefile
index eab91b19a7a..6579a2540e7 100644
--- a/x11/kactivities/Makefile
+++ b/x11/kactivities/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2015/04/25 14:25:07 tnn Exp $
+# $NetBSD: Makefile,v 1.33 2016/02/22 19:59:27 jperkin Exp $
DISTNAME= kactivities-4.13.3
PKGREVISION= 2
@@ -11,8 +11,12 @@ MASTER_SITES= ${MASTER_SITE_KDE:=4.13.3/src/}
# Needs C++11 features for kactivitymanager
GCC_REQD+= 4.5
+OPSYSVARS+= CMAKE_ARGS
CMAKE_ARGS+= -DWITH_NepomukCore:BOOL=OFF
+# The default MACOSX_DEPLOYMENT_TARGET is incompatible with the C++11 tests.
+CMAKE_ARGS.Darwin+= -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=${OSX_VERSION}
+
PKGCONFIG_OVERRIDE+= lib/libkactivities.pc.cmake
INSTALLATION_DIRS= share/kde/config