Date: Thu, 6 Mar 2014 20:24:29 +0000 (UTC) From: Koop Mast <kwm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r347313 - head/lang/spidermonkey24 Message-ID: <201403062024.s26KOTKV085376@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kwm Date: Thu Mar 6 20:24:29 2014 New Revision: 347313 URL: http://svnweb.freebsd.org/changeset/ports/347313 QAT: https://qat.redports.org/buildarchive/r347313/ Log: Use option helpers. Modified: head/lang/spidermonkey24/Makefile Modified: head/lang/spidermonkey24/Makefile ============================================================================== --- head/lang/spidermonkey24/Makefile Thu Mar 6 20:23:53 2014 (r347312) +++ head/lang/spidermonkey24/Makefile Thu Mar 6 20:24:29 2014 (r347313) @@ -35,69 +35,24 @@ OPTIONS_DEFINE= DEBUG GCZEAL JEMALLOC M OPTIONS_DEFAULT= METHODJIT OPTIMIZE READLINE THREADSAFE TRACEJIT DEBUG_DESC= Enable Debug build +DEBUG_CONFIGURE_ENABLE= debug debug-symbols +DEBUG_CONFIGURE_DISABLE=debug GCZEAL_DESC= Enable Zealous garbage collecting +GCZEAL_CONFIGURE_ENABLE=gczeal JEMALLOC_DESC= Use jemalloc as memory allocator +JEMALLOC_CONFIGURE_ENABLE= jemalloc METHODJIT_DESC= Enable method JIT support +METHODJIT_CONFIGURE_ENABLE= methodjit OPTIMIZE_DESC= Enable compiler optimizations +OPTIMIZE_CONFIGURE_ENABLE= optimize READLINE_DESC= Link js shell to system readline library +READLINE_CONFIGURE_ENABLE= readline THREADSAFE_DESC= Enable multiple thread support +THREADSAFE_CONFIGURE_ENABLE= threadsafe TRACEJIT_DESC= Enable tracing JIT support +TRACEJIT_CONFIGURE_ENABLE= tracejit UTF8_DESC= Treat strings as UTF8 instead of ISO-8859-1 - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MDEBUG} -CONFIGURE_ARGS+= --enable-debug \ - --enable-debug-symbols -.else -CONFIGURE_ARGS+= --disable-debug -.endif - -.if ${PORT_OPTIONS:MGCZEAL} -CONFIGURE_ARGS+= --enable-gczeal -.else -CONFIGURE_ARGS+= --disable-gczeal -.endif - -.if ${PORT_OPTIONS:MJEMALLOC} -CONFIGURE_ARGS+= --enable-jemalloc -.else -CONFIGURE_ARGS+= --disable-jemalloc -.endif - -.if ${PORT_OPTIONS:MMETHODJIT} -CONFIGURE_ARGS+= --enable-methodjit -.else -CONFIGURE_ARGS+= --disable-methodjit -.endif - -.if ${PORT_OPTIONS:MOPTIMIZE} -CONFIGURE_ARGS+= --enable-optimize -.else -CONFIGURE_ARGS+= --disable-optimize -.endif - -.if ${PORT_OPTIONS:MREADLINE} -CONFIGURE_ARGS+= --enable-readline -.else -CONFIGURE_ARGS+= --disable-readline -.endif - -.if ${PORT_OPTIONS:MTHREADSAFE} -CONFIGURE_ARGS+= --enable-threadsafe -.else -CONFIGURE_ARGS+= --disable-threadsafe -.endif - -.if ${PORT_OPTIONS:MTRACEJIT} -CONFIGURE_ARGS+= --enable-tracejit -.else -CONFIGURE_ARGS+= --disable-tracejit -.endif - -.if ${PORT_OPTIONS:MUTF8} -CFLAGS+= -DJS_C_STRINGS_ARE_UTF8 -.endif +UTF8_CFLAGS= -DJS_C_STRINGS_ARE_UTF8 .include <bsd.port.pre.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403062024.s26KOTKV085376>