openbsd-ports/x11/dbus/Makefile
2012-09-07 12:41:35 +00:00

64 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.87 2012/09/07 12:41:35 ajacoutot Exp $
COMMENT= message bus system
DISTNAME= dbus-1.6.4
REVISION= 1
EPOCH= 0
SHARED_LIBS += dbus-1 10.2 # 10.2
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= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.69
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-dbus-user=_dbus \
--with-xml=expat \
--with-x \
--enable-kqueue \
--disable-xml-docs \
--disable-doxygen-docs \
--disable-abstract-sockets \
--disable-launchd \
--disable-selinux \
--disable-libaudit \
--disable-dnotify \
--disable-inotify \
--disable-systemd
# gives no chance of picking up devel/libexecinfo
CONFIGURE_ENV+= ac_cv_header_execinfo_h=no \
ac_cv_func_backtrace=no
# Full test coverage is disabled:
# * changes the final dbus binaries
# * requires glib2 and dbus-python (which creates 2 dependency loops)
# * requires the python MODULE
#CONFIGURE_ARGS+= --enable-tests=yes
#CONFIGURE_ARGS+= --enable-verbose-mode
FAKE_FLAGS= sysconfdir=${TRUEPREFIX}/share/examples/dbus
.include <bsd.port.mk>