Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / sysutils / dbus / options.mk
blob311f5bf951ed9bf8702609c2999c8d30203fc284
1 # $NetBSD: options.mk,v 1.6 2012/08/01 17:52:21 drochner Exp $
3 PKG_OPTIONS_VAR= PKG_OPTIONS.dbus
4 PKG_SUPPORTED_OPTIONS+= debug x11
5 PKG_SUGGESTED_OPTIONS= x11
7 .if (${OPSYS} == "NetBSD" || \
8 ${OPSYS} == "FreeBSD" || \
9 ${OPSYS} == "OpenBSD" || \
10 ${OPSYS} == "Darwin" || \
11 ${OPSYS} == "DragonFly")
12 PKG_SUPPORTED_OPTIONS+= kqueue
13 PKG_SUGGESTED_OPTIONS+= kqueue
14 .endif
16 .include "../../mk/bsd.options.mk"
18 .if !empty(PKG_OPTIONS:Mdebug)
19 CONFIGURE_ARGS.enable+= asserts verbose-mode
20 .else
21 CONFIGURE_ARGS.disable+= asserts verbose-mode
22 .endif
24 .if !empty(PKG_OPTIONS:Mkqueue)
25 CONFIGURE_ARGS.enable+= kqueue
26 .else
27 CONFIGURE_ARGS.disable+= kqueue
28 .endif
30 .if !empty(PKG_OPTIONS:Mx11)
31 CONFIGURE_ARGS.with+= x
32 . include "../../x11/libX11/buildlink3.mk"
33 BUILDLINK_DEPMETHOD.libXt= build
34 . include "../../x11/libXt/buildlink3.mk"
35 .else
36 CONFIGURE_ARGS.without= x
37 .endif