07987391dd
While here make sure the pid file is not around anymore on startup (which can happen after a crash and prevent DBus from starting again).
60 lines
1.4 KiB
Makefile
60 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.75 2011/12/20 14:27:46 ajacoutot Exp $
|
|
|
|
# OpenBSD has support for monotonic clock (CLOCK_MONOTONIC), however we
|
|
# currently don't have most of the _POSIX_* defines in unistd.h (e.g.
|
|
# _POSIX_MONOTONIC_CLOCK 200112L) and the associated sysconf(3)
|
|
# _SC_MONOTONIC_CLOCK variable.
|
|
#
|
|
# for dbus, we will not force monotonic clock support because we miss
|
|
# pthread_condattr_setclock(3).
|
|
|
|
COMMENT= message bus system
|
|
|
|
DISTNAME= dbus-1.4.16
|
|
REVISION= 2
|
|
EPOCH= 0
|
|
|
|
SHARED_LIBS += dbus-1 9.1 # .8.6
|
|
CATEGORIES= x11
|
|
|
|
HOMEPAGE= http://dbus.freedesktop.org/
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# GPLv2+
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
WANTLIB += ICE SM X11 c expat pthread xcb
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/releases/dbus/
|
|
|
|
SEPARATE_BUILD= simple
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib -pthread"
|
|
CONFIGURE_ARGS= --localstatedir=/var \
|
|
--with-dbus-user=_dbus \
|
|
--with-xml=expat \
|
|
--enable-kqueue \
|
|
--disable-xml-docs \
|
|
--disable-doxygen-docs \
|
|
--disable-abstract-sockets \
|
|
--disable-selinux \
|
|
--disable-libaudit \
|
|
--disable-dnotify \
|
|
--disable-inotify
|
|
|
|
# Tests are disabled as they change the final dbus binaries
|
|
#CONFIGURE_ARGS+= --enable-tests
|
|
#CONFIGURE_ARGS+= --enable-verbose-mode
|
|
|
|
FAKE_FLAGS= sysconfdir=${TRUEPREFIX}/share/examples/dbus
|
|
|
|
.include <bsd.port.mk>
|