diff options
author | drochner <drochner@pkgsrc.org> | 2008-06-13 11:28:35 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2008-06-13 11:28:35 +0000 |
commit | d42c6e47c6a024e84b2b9055301111a5610ce3ef (patch) | |
tree | 8e592402e873fb54ce9e3928e8c8aece66aa142e /sysutils/dbus/Makefile | |
parent | c628b7b1b40a4b44cb953b93b94c92f69a8d87c1 (diff) | |
download | pkgsrc-d42c6e47c6a024e84b2b9055301111a5610ce3ef.tar.gz |
update to 1.2.1, mostly from Blair Sadewitz
There is some stuff in the pkg which is not completed or doesn't work yet,
as support for NetBSD's new atomic increment ops, but this is not
essential. It is a good moment to do the update right now because gtk2
was just updated, and there is just enough time before the next branch.
This is a major update, too many changes to list here.
Diffstat (limited to 'sysutils/dbus/Makefile')
-rw-r--r-- | sysutils/dbus/Makefile | 81 |
1 files changed, 46 insertions, 35 deletions
diff --git a/sysutils/dbus/Makefile b/sysutils/dbus/Makefile index 314b0c80d86..fa057a71e7c 100644 --- a/sysutils/dbus/Makefile +++ b/sysutils/dbus/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.28 2008/04/30 13:38:16 jmmv Exp $ +# $NetBSD: Makefile,v 1.29 2008/06/13 11:28:35 drochner Exp $ # -DISTNAME= dbus-1.0.2 -PKGREVISION= 5 +DISTNAME= dbus-1.2.1 CATEGORIES= sysutils MASTER_SITES= http://dbus.freedesktop.org/releases/dbus/ @@ -21,48 +20,50 @@ USE_LIBTOOL= YES PKGCONFIG_OVERRIDE= dbus-1.pc.in -CONFIGURE_ARGS+= --disable-abstract-sockets -CONFIGURE_ARGS+= --disable-ansi -CONFIGURE_ARGS+= --disable-asserts -CONFIGURE_ARGS+= --disable-console-owner-file -CONFIGURE_ARGS+= --disable-dnotify -CONFIGURE_ARGS+= --disable-doxygen-docs -CONFIGURE_ARGS+= --disable-gcov -CONFIGURE_ARGS+= --disable-selinux -CONFIGURE_ARGS+= --disable-tests -CONFIGURE_ARGS+= --disable-verbose-mode -CONFIGURE_ARGS+= --disable-xml-docs -CONFIGURE_ARGS+= --enable-checks +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../mk/bsd.prefs.mk" + CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q} CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} -CONFIGURE_ARGS+= --with-xml=expat -CONFIGURE_ARGS+= --with-dbus-user=${DBUS_USER} -PKG_OPTIONS_VAR= PKG_OPTIONS.dbus -PKG_SUPPORTED_OPTIONS+= debug nox11 +#CFLAGS.NetBSD+= -D_NETBSD_SOURCE -.include "../../mk/bsd.options.mk" +CONFIGURE_ARGS_GROUPS= enable disable with without -.if !empty(PKG_OPTIONS:Mdebug) -CONFIGURE_ARGS+= --enable-asserts -CONFIGURE_ARGS+= --enable-tests -CONFIGURE_ARGS+= --enable-verbose-mode -.endif +CONFIGURE_ARGS.Linux= abstract-sockets dnotify selinux +CONFIGURE_ARGS.docs= doxygen-docs xml-docs + +CONFIGURE_ARGS.disable= ansi asserts gcov tests +CONFIGURE_ARGS.disable+= console-owner-file verbose-mode +CONFIGURE_ARGS.disable+= ${CONFIGURE_ARGS.docs} +CONFIGURE_ARGS.enable= checks static + +CONFIGURE_ARGS.with= dbus-user=${DBUS_USER} +CONFIGURE_ARGS.with+= test-socket-dir=${WRKDIR:Q} +CONFIGURE_ARGS.with+= xml=expat -.if !empty(PKG_OPTIONS:Mnox11) -CONFIGURE_ARGS+= --without-x -.else -.include "../../x11/libX11/buildlink3.mk" +PTHREAD_AUTO_VARS= yes + +.if ${OPSYS} != "Linux" +CONFIGURE_ARGS.disable+=\ + ${CONFIGURE_ARGS.Linux} .endif -PKG_SYSCONFSUBDIR= dbus-1 -MAKE_DIRS= ${PKG_SYSCONFDIR}/event.d -MAKE_DIRS+= ${PKG_SYSCONFDIR}/system.d +CONFIGURE_ARGS+=\ + ${CONFIGURE_ARGS_GROUPS:@.g.@ \ + ${CONFIGURE_ARGS.${.g.}:@.a.@ \ + --${.g.}-${.a.} \ + @} \ + @:M*} + +MAKE_DIRS= ${PKG_SYSCONFDIR}/dbus-1/event.d +MAKE_DIRS+= ${PKG_SYSCONFDIR}/dbus-1/system.d +MAKE_DIRS+= ${PKG_SYSCONFDIR}/dbus-1/session.d EGDIR= ${PREFIX}/share/examples/dbus -CONF_FILES= ${EGDIR}/session.conf ${PKG_SYSCONFDIR}/session.conf -CONF_FILES+= ${EGDIR}/system.conf ${PKG_SYSCONFDIR}/system.conf -INSTALLATION_DIRS= ${EGDIR} +CONF_FILES= ${EGDIR}/session.conf ${PKG_SYSCONFDIR}/dbus-1/session.conf +CONF_FILES+= ${EGDIR}/system.conf ${PKG_SYSCONFDIR}/dbus-1/system.conf RCD_SCRIPTS= dbus @@ -77,6 +78,16 @@ PKG_HOME.${DBUS_USER}= ${VARBASE}/run/dbus FILES_SUBST+= DBUS_USER=${DBUS_USER} FILES_SUBST+= DBUS_GROUP=${DBUS_GROUP} + +.include "options.mk" + +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 + +.include "../../mk/pthread.buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" .include "../../textproc/expat/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |