2014-05-22 09:09:26 +02:00
|
|
|
# $NetBSD: options.mk,v 1.4 2014/05/22 07:09:26 wiz Exp $
|
2010-04-12 04:26:39 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.webkit-gtk
|
2013-02-02 13:00:20 +01:00
|
|
|
PKG_SUPPORTED_OPTIONS= webkit-jit debug
|
2013-03-20 14:37:49 +01:00
|
|
|
PKG_SUGGESTED_OPTIONS=
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
# XXX JIT produces invalid code on NetBSD/i386
|
2014-05-22 09:09:26 +02:00
|
|
|
.if empty(MACHINE_PLATFORM:MNetBSD-*-i386) && empty(MACHINE_PLATFORM:MNetBSD-*-x86_64)
|
2013-03-20 14:37:49 +01:00
|
|
|
PKG_SUGGESTED_OPTIONS+= webkit-jit
|
|
|
|
.endif
|
2010-04-12 04:26:39 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mwebkit-jit)
|
|
|
|
CONFIGURE_ARGS+= --enable-jit
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-jit
|
|
|
|
.endif
|
2013-02-02 13:00:20 +01:00
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mdebug)
|
|
|
|
CONFIGURE_ARGS+= --enable-debug
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-debug
|
|
|
|
.endif
|