pkgsrc/www/webkit-gtk/options.mk
wiz d5a1b4f1f6 Do not enable webkit-jit option by default on amd64.
It causes segfaults in gnucash reports as of gnucash-2.6.

Bump PKGREVISION.
2014-05-22 07:09:26 +00:00

27 lines
632 B
Makefile

# $NetBSD: options.mk,v 1.4 2014/05/22 07:09:26 wiz Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.webkit-gtk
PKG_SUPPORTED_OPTIONS= webkit-jit debug
PKG_SUGGESTED_OPTIONS=
.include "../../mk/bsd.prefs.mk"
# XXX JIT produces invalid code on NetBSD/i386
.if empty(MACHINE_PLATFORM:MNetBSD-*-i386) && empty(MACHINE_PLATFORM:MNetBSD-*-x86_64)
PKG_SUGGESTED_OPTIONS+= webkit-jit
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mwebkit-jit)
CONFIGURE_ARGS+= --enable-jit
.else
CONFIGURE_ARGS+= --disable-jit
.endif
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-debug
.else
CONFIGURE_ARGS+= --disable-debug
.endif