pkgsrc/www/webkit-gtk/options.mk

28 lines
632 B
Makefile
Raw Normal View History

# $NetBSD: options.mk,v 1.4 2014/05/22 07:09:26 wiz Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.webkit-gtk
2013-02-02 13:00:20 +01:00
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
2013-02-02 13:00:20 +01:00
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-debug
.else
CONFIGURE_ARGS+= --disable-debug
.endif