60 lines
1.4 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.73 2011/10/29 14:37:42 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).
2006-09-19 18:10:14 +00:00
2009-10-10 14:30:47 +00:00
COMMENT= message bus system
2011-09-29 06:57:36 +00:00
DISTNAME= dbus-1.4.16
REVISION= 0
EPOCH= 0
2011-06-03 16:51:23 +00:00
SHARED_LIBS += dbus-1 9.1 # .8.6
2009-10-10 14:30:47 +00:00
CATEGORIES= x11
2006-09-19 18:10:14 +00:00
2009-10-10 14:30:47 +00:00
HOMEPAGE= http://dbus.freedesktop.org/
2006-09-19 18:10:14 +00:00
2010-07-02 18:01:53 +00:00
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2+
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
2011-09-09 09:00:25 +00:00
WANTLIB += ICE SM X11 c expat pthread xcb
2009-10-10 14:30:47 +00:00
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 \
2010-04-20 14:54:21 +00:00
--enable-kqueue \
2009-10-10 14:30:47 +00:00
--disable-xml-docs \
--disable-doxygen-docs \
--disable-abstract-sockets \
--disable-selinux \
--disable-libaudit \
--disable-dnotify \
--disable-inotify
2009-10-10 14:30:47 +00:00
# Tests are disabled as they change the final dbus binaries
2009-10-10 14:30:47 +00:00
#CONFIGURE_ARGS+= --enable-tests
#CONFIGURE_ARGS+= --enable-verbose-mode
2009-10-10 14:30:47 +00:00
FAKE_FLAGS= sysconfdir=${TRUEPREFIX}/share/examples/dbus
2006-09-19 18:10:14 +00:00
.include <bsd.port.mk>