summaryrefslogtreecommitdiff
path: root/sysutils/consolekit
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-09-14 17:42:08 +0000
committerhans <hans@pkgsrc.org>2011-09-14 17:42:08 +0000
commitd9e743a4e00a79e8347f9c9ff2d3a5c75a2574ec (patch)
tree6e481fa96f5e1372f02b50e9a7bc7796d43a9af8 /sysutils/consolekit
parent20072200f853a000271dd767e897ea3d2a21b5a6 (diff)
downloadpkgsrc-d9e743a4e00a79e8347f9c9ff2d3a5c75a2574ec.tar.gz
Use SunOS-specific system shutdown mechanism when building for SunOS.
Diffstat (limited to 'sysutils/consolekit')
-rw-r--r--sysutils/consolekit/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysutils/consolekit/Makefile b/sysutils/consolekit/Makefile
index de9b2438a04..7f2146b9339 100644
--- a/sysutils/consolekit/Makefile
+++ b/sysutils/consolekit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2011/09/14 17:40:57 hans Exp $
+# $NetBSD: Makefile,v 1.15 2011/09/14 17:42:08 hans Exp $
#
CONSOLEKIT_VER= 0.3.0
@@ -54,6 +54,10 @@ post-install:
${DESTDIR}${PREFIX}/libexec/ck-get-x11-server-pid
.endif
+.if ${OPSYS} == "SunOS"
+CONFIGURE_ARGS+= --enable-rbac-shutdown=solaris.system.shutdown
+.endif
+
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/policykit/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"