Wed Sep 14 17:42:08 2011 UTC ()
Use SunOS-specific system shutdown mechanism when building for SunOS.


(hans)
diff -r1.14 -r1.15 pkgsrc/sysutils/consolekit/Makefile

cvs diff -r1.14 -r1.15 pkgsrc/sysutils/consolekit/Makefile (expand / switch to unified diff)

--- pkgsrc/sysutils/consolekit/Makefile 2011/09/14 17:40:57 1.14
+++ pkgsrc/sysutils/consolekit/Makefile 2011/09/14 17:42:08 1.15
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.14 2011/09/14 17:40:57 hans Exp $ 1# $NetBSD: Makefile,v 1.15 2011/09/14 17:42:08 hans Exp $
2# 2#
3 3
4CONSOLEKIT_VER= 0.3.0 4CONSOLEKIT_VER= 0.3.0
5DISTNAME= ConsoleKit-${CONSOLEKIT_VER} 5DISTNAME= ConsoleKit-${CONSOLEKIT_VER}
6PKGNAME= consolekit-${CONSOLEKIT_VER} 6PKGNAME= consolekit-${CONSOLEKIT_VER}
7PKGREVISION= 6 7PKGREVISION= 6
8CATEGORIES= sysutils 8CATEGORIES= sysutils
9MASTER_SITES= http://www.freedesktop.org/software/ConsoleKit/dist/ 9MASTER_SITES= http://www.freedesktop.org/software/ConsoleKit/dist/
10EXTRACT_SUFX= .tar.bz2 10EXTRACT_SUFX= .tar.bz2
11 11
12MAINTAINER= netbsd-desktop@NetBSD.org 12MAINTAINER= netbsd-desktop@NetBSD.org
13HOMEPAGE= http://www.freedesktop.org/wiki/Software/ConsoleKit 13HOMEPAGE= http://www.freedesktop.org/wiki/Software/ConsoleKit
14COMMENT= Framework for defining and tracking users, login sessions, and seats 14COMMENT= Framework for defining and tracking users, login sessions, and seats
@@ -44,19 +44,23 @@ post-extract: @@ -44,19 +44,23 @@ post-extract:
44 44
45pre-configure: 45pre-configure:
46 cd ${WRKSRC} && autoreconf -vi ${AUTORECONF_ARGS} 46 cd ${WRKSRC} && autoreconf -vi ${AUTORECONF_ARGS}
47 47
48.include "../../mk/bsd.prefs.mk" 48.include "../../mk/bsd.prefs.mk"
49.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly" 49.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
50post-install: 50post-install:
51 ${CP} ${FILESDIR}/ck-get-x11-display-device.FreeBSD \ 51 ${CP} ${FILESDIR}/ck-get-x11-display-device.FreeBSD \
52 ${DESTDIR}${PREFIX}/libexec/ck-get-x11-display-device 52 ${DESTDIR}${PREFIX}/libexec/ck-get-x11-display-device
53 ${CP} ${FILESDIR}/ck-get-x11-server-pid.FreeBSD \ 53 ${CP} ${FILESDIR}/ck-get-x11-server-pid.FreeBSD \
54 ${DESTDIR}${PREFIX}/libexec/ck-get-x11-server-pid 54 ${DESTDIR}${PREFIX}/libexec/ck-get-x11-server-pid
55.endif 55.endif
56 56
 57.if ${OPSYS} == "SunOS"
 58CONFIGURE_ARGS+= --enable-rbac-shutdown=solaris.system.shutdown
 59.endif
 60
57.include "../../devel/zlib/buildlink3.mk" 61.include "../../devel/zlib/buildlink3.mk"
58.include "../../security/policykit/buildlink3.mk" 62.include "../../security/policykit/buildlink3.mk"
59.include "../../sysutils/dbus/buildlink3.mk" 63.include "../../sysutils/dbus/buildlink3.mk"
60.include "../../sysutils/dbus-glib/buildlink3.mk" 64.include "../../sysutils/dbus-glib/buildlink3.mk"
61.include "../../x11/libX11/buildlink3.mk" 65.include "../../x11/libX11/buildlink3.mk"
62.include "../../mk/bsd.pkg.mk" 66.include "../../mk/bsd.pkg.mk"