2012-09-02 15:02:13 +02:00
|
|
|
# $NetBSD: options.mk,v 1.7 2012/09/02 13:02:13 shattered Exp $
|
2008-06-13 13:28:35 +02:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.dbus
|
2010-11-07 16:24:50 +01:00
|
|
|
PKG_SUPPORTED_OPTIONS+= debug x11
|
2008-12-21 13:09:42 +01:00
|
|
|
PKG_SUGGESTED_OPTIONS= x11
|
2008-06-13 13:28:35 +02:00
|
|
|
|
|
|
|
.if (${OPSYS} == "NetBSD" || \
|
|
|
|
${OPSYS} == "FreeBSD" || \
|
2010-12-05 19:29:17 +01:00
|
|
|
${OPSYS} == "OpenBSD" || \
|
2012-09-02 15:02:13 +02:00
|
|
|
${OPSYS} == "Darwin" || \
|
2010-12-05 19:29:17 +01:00
|
|
|
${OPSYS} == "DragonFly")
|
2010-11-07 16:24:50 +01:00
|
|
|
PKG_SUPPORTED_OPTIONS+= kqueue
|
2008-06-13 13:28:35 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS+= kqueue
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mdebug)
|
2012-08-01 19:52:21 +02:00
|
|
|
CONFIGURE_ARGS.enable+= asserts verbose-mode
|
2008-06-19 03:56:44 +02:00
|
|
|
.else
|
2012-08-01 19:52:21 +02:00
|
|
|
CONFIGURE_ARGS.disable+= asserts verbose-mode
|
2008-06-13 13:28:35 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mkqueue)
|
|
|
|
CONFIGURE_ARGS.enable+= kqueue
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS.disable+= kqueue
|
|
|
|
.endif
|
|
|
|
|
2008-12-21 13:09:42 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mx11)
|
2008-06-13 13:28:35 +02:00
|
|
|
CONFIGURE_ARGS.with+= x
|
|
|
|
. include "../../x11/libX11/buildlink3.mk"
|
|
|
|
BUILDLINK_DEPMETHOD.libXt= build
|
|
|
|
. include "../../x11/libXt/buildlink3.mk"
|
2008-12-21 13:09:42 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS.without= x
|
2008-06-13 13:28:35 +02:00
|
|
|
.endif
|