| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.105 2017/02/16 16:07:05 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.106 2017/03/08 16:09:15 jperkin Exp $ |
2 | | | 2 | |
3 | DISTNAME= dbus-1.10.16 | | 3 | DISTNAME= dbus-1.10.16 |
4 | CATEGORIES= sysutils | | 4 | CATEGORIES= sysutils |
5 | MASTER_SITES= http://dbus.freedesktop.org/releases/dbus/ | | 5 | MASTER_SITES= http://dbus.freedesktop.org/releases/dbus/ |
6 | | | 6 | |
7 | MAINTAINER= pkgsrc-users@NetBSD.org | | 7 | MAINTAINER= pkgsrc-users@NetBSD.org |
8 | HOMEPAGE= http://www.freedesktop.org/Software/dbus | | 8 | HOMEPAGE= http://www.freedesktop.org/Software/dbus |
9 | COMMENT= Message bus system | | 9 | COMMENT= Message bus system |
10 | LICENSE= gnu-gpl-v2 | | 10 | LICENSE= gnu-gpl-v2 |
11 | | | 11 | |
12 | CONFLICTS+= dbus-glib<0.71 | | 12 | CONFLICTS+= dbus-glib<0.71 |
13 | CONFLICTS+= py27-dbus<0.71 | | 13 | CONFLICTS+= py27-dbus<0.71 |
14 | | | 14 | |
| @@ -46,26 +46,31 @@ CONFIGURE_ARGS+= --enable-checks | | | @@ -46,26 +46,31 @@ CONFIGURE_ARGS+= --enable-checks |
46 | CONFIGURE_ARGS+= --enable-static | | 46 | CONFIGURE_ARGS+= --enable-static |
47 | | | 47 | |
48 | ### | | 48 | ### |
49 | ### XXX the spawn test hangs, and some of these tests may be bogus | | 49 | ### XXX the spawn test hangs, and some of these tests may be bogus |
50 | ### | | 50 | ### |
51 | #.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss]) | | 51 | #.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss]) |
52 | #PKG_OPTIONS.dbus+= debug | | 52 | #PKG_OPTIONS.dbus+= debug |
53 | #TEST_TARGET= check | | 53 | #TEST_TARGET= check |
54 | #.endif | | 54 | #.endif |
55 | | | 55 | |
56 | CONFIGURE_ARGS+= --with-dbus-user=${DBUS_USER} | | 56 | CONFIGURE_ARGS+= --with-dbus-user=${DBUS_USER} |
57 | CONFIGURE_ARGS+= --with-test-socket-dir=${WRKDIR:Q} | | 57 | CONFIGURE_ARGS+= --with-test-socket-dir=${WRKDIR:Q} |
58 | | | 58 | |
| | | 59 | SUBST_CLASSES+= docbook |
| | | 60 | SUBST_STAGE.docbook= pre-configure |
| | | 61 | SUBST_FILES.docbook= doc/*.xml* |
| | | 62 | SUBST_SED.docbook= -e 's,http://www.oasis-open.org/docbook/xml,${PREFIX}/share/xml/docbook,g' |
| | | 63 | |
59 | PTHREAD_AUTO_VARS= yes | | 64 | PTHREAD_AUTO_VARS= yes |
60 | | | 65 | |
61 | .if ${OPSYS} == "Linux" | | 66 | .if ${OPSYS} == "Linux" |
62 | PLIST.linux= yes | | 67 | PLIST.linux= yes |
63 | .else | | 68 | .else |
64 | CONFIGURE_ARGS+= --disable-abstract-sockets | | 69 | CONFIGURE_ARGS+= --disable-abstract-sockets |
65 | CONFIGURE_ARGS+= --disable-selinux | | 70 | CONFIGURE_ARGS+= --disable-selinux |
66 | .endif | | 71 | .endif |
67 | | | 72 | |
68 | PLIST_VARS+= linux launchd | | 73 | PLIST_VARS+= linux launchd |
69 | | | 74 | |
70 | DBUS_CONF_DIR= ${PKG_SYSCONFBASE}/dbus-1 | | 75 | DBUS_CONF_DIR= ${PKG_SYSCONFBASE}/dbus-1 |
71 | OWN_DIRS+= ${DBUS_CONF_DIR}/services | | 76 | OWN_DIRS+= ${DBUS_CONF_DIR}/services |