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
16 .
include "../../mk/bsd.options.mk"
18 .if
!empty
(PKG_OPTIONS
:Mdebug
)
19 CONFIGURE_ARGS.enable
+= asserts verbose-mode
21 CONFIGURE_ARGS.disable
+= asserts verbose-mode
24 .if
!empty
(PKG_OPTIONS
:Mkqueue
)
25 CONFIGURE_ARGS.enable
+= kqueue
27 CONFIGURE_ARGS.disable
+= kqueue
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"
36 CONFIGURE_ARGS.without
= x