summaryrefslogtreecommitdiff
path: root/sysutils/dbus/Makefile
diff options
context:
space:
mode:
authorabs <abs>2009-05-18 21:55:30 +0000
committerabs <abs>2009-05-18 21:55:30 +0000
commit1877fa0a6723defe7f67abb364c3a755da21f6d8 (patch)
tree5bf52d7c68aa314f32ca655a1681622fc748d0e7 /sysutils/dbus/Makefile
parent496d1fa28ee29cdd34ba93cedfe3b7865dd7d19b (diff)
downloadpkgsrc-1877fa0a6723defe7f67abb364c3a755da21f6d8.tar.gz
Only install messagebus.redhat and rc.messagebus.slackware iff on linux, plus set group on libexec/dbus-daemon-launch-helper
Diffstat (limited to 'sysutils/dbus/Makefile')
-rw-r--r--sysutils/dbus/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/sysutils/dbus/Makefile b/sysutils/dbus/Makefile
index a4592cf233b..e6989825736 100644
--- a/sysutils/dbus/Makefile
+++ b/sysutils/dbus/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.44 2009/05/08 13:13:51 abs Exp $
+# $NetBSD: Makefile,v 1.45 2009/05/18 21:55:30 abs Exp $
DISTNAME= dbus-1.2.4.2permissive
PKGNAME= dbus-1.2.4.2
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= sysutils
MASTER_SITES= http://dbus.freedesktop.org/releases/dbus/
@@ -26,7 +26,7 @@ PKG_DESTDIR_SUPPORT= user-destdir
BUILD_DEFS+= VARBASE
OWN_DIRS_PERMS+= ${VARBASE}/db/dbus ${DBUS_USER} ${DBUS_GROUP} 0755
-SPECIAL_PERMS+= libexec/dbus-daemon-launch-helper ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 4511
+SPECIAL_PERMS+= libexec/dbus-daemon-launch-helper ${REAL_ROOT_USER} ${DBUS_GROUP} 4511
.include "../../mk/bsd.prefs.mk"
@@ -62,11 +62,15 @@ CONFIGURE_ARGS.with+= xml=expat
PTHREAD_AUTO_VARS= yes
-.if ${OPSYS} != "Linux"
+.if ${OPSYS} == "Linux"
+PLIST.linux= yes
+.else
CONFIGURE_ARGS.disable+=\
${CONFIGURE_ARGS.Linux}
.endif
+PLIST_VARS+= linux
+
CONFIGURE_ARGS+=\
${CONFIGURE_ARGS_GROUPS:@.g.@ \
${CONFIGURE_ARGS.${.g.}:@.a.@ \
@@ -103,11 +107,13 @@ BUILDLINK_TRANSFORM+= rm:-pie
.include "options.mk"
+.if ${OPSYS} == "Linux"
post-install:
${INSTALL_DATA} ${WRKSRC}/bus/rc.messagebus \
${DESTDIR}${PREFIX}/share/examples/rc.d/rc.messagebus.slackware
${INSTALL_DATA} ${WRKSRC}/bus/messagebus \
${DESTDIR}${PREFIX}/share/examples/rc.d/messagebus.redhat
+.endif
.include "../../mk/pthread.buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"