pkgsrc/sysutils/dbus/options.mk
bjs b3a93cfb30 - Fix support for NetBSD's atomic ops.
- Fix up some inconsistent handing of CONFIGURE_ARGS (mostly related
  to the debug option).
- Add test target (commented out, see Makefile).
- Add some patches from freedesktop.org git (see comments atop new patches).
- Remove trailing comma from an enum in tools/dbus-monitor.c.

Passes all tests on NetBSD/amd64 4.99.65, save for spawn test, which seems
to hang (?).  I'm also running GNOME now and everything seems to be in order.
2008-06-19 01:56:44 +00:00

34 lines
807 B
Makefile

# $NetBSD: options.mk,v 1.2 2008/06/19 01:56:44 bjs Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.dbus
PKG_SUPPORTED_OPTIONS+= debug kqueue nox11
PKG_SUGGESTED_OPTIONS= # empty
.if (${OPSYS} == "NetBSD" || \
${OPSYS} == "FreeBSD" || \
${OPSYS} == "OpenBSD")
PKG_SUGGESTED_OPTIONS+= kqueue
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS.enable+= asserts tests verbose-mode
.else
CONFIGURE_ARGS.disable+= asserts tests verbose-mode
.endif
.if !empty(PKG_OPTIONS:Mkqueue)
CONFIGURE_ARGS.enable+= kqueue
.else
CONFIGURE_ARGS.disable+= kqueue
.endif
.if !empty(PKG_OPTIONS:Mnox11)
CONFIGURE_ARGS.without= x
.else
CONFIGURE_ARGS.with+= x
. include "../../x11/libX11/buildlink3.mk"
BUILDLINK_DEPMETHOD.libXt= build
. include "../../x11/libXt/buildlink3.mk"
.endif