pkgsrc/devel/xulrunner/options.mk
tnn 27114f6824 Import xulrunner-1.9.1 as devel/xulrunner.
XULRunner is a runtime environment for applications using the
XML User Interface Language, XUL. It is the successor of the "Gecko"
runtime environment.
2009-08-05 02:59:46 +00:00

22 lines
517 B
Makefile

# $NetBSD: options.mk,v 1.1.1.1 2009/08/05 02:59:47 tnn Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.xulrunner
PKG_SUPPORTED_OPTIONS= debug mozilla-jemalloc
.include "../../mk/bsd.options.mk"
.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
PKG_SUGGESTED_OPTIONS+= mozilla-jemalloc
.endif
.if !empty(PKG_OPTIONS:Mmozilla-jemalloc)
CONFIGURE_ARGS+= --enable-jemalloc
.else
CONFIGURE_ARGS+= --disable-jemalloc
.endif
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-debug
.else
CONFIGURE_ARGS+= --disable-debug
.endif