Lines 28-41
WRKSRC= ${WRKDIR}/mozjs-${PORTVERSION}/js/src
Link Here
|
28 |
CONFIGURE_ARGS= --with-pthreads \ |
28 |
CONFIGURE_ARGS= --with-pthreads \ |
29 |
--with-system-nspr |
29 |
--with-system-nspr |
30 |
|
30 |
|
31 |
OPTIONS_DEFINE= DEBUG GCZEAL JEMALLOC METHODJIT OPTIMIZE READLINE \ |
31 |
OPTIONS_DEFINE= DEBUG DTRACE GCZEAL JEMALLOC METHODJIT OPTIMIZE READLINE \ |
32 |
THREADSAFE TRACEJIT UTF8 \ |
32 |
THREADSAFE TRACEJIT UTF8 \ |
33 |
|
33 |
|
34 |
OPTIONS_DEFAULT= METHODJIT OPTIMIZE READLINE THREADSAFE TRACEJIT |
34 |
OPTIONS_DEFAULT= METHODJIT OPTIMIZE READLINE THREADSAFE TRACEJIT |
|
|
35 |
OPTIONS_SUB= yes |
35 |
|
36 |
|
36 |
DEBUG_DESC= Enable Debug build |
37 |
DEBUG_DESC= Enable Debug build |
37 |
DEBUG_CONFIGURE_ENABLE= debug debug-symbols |
38 |
DEBUG_CONFIGURE_ENABLE= debug debug-symbols |
38 |
DEBUG_CONFIGURE_DISABLE=debug |
39 |
DEBUG_CONFIGURE_DISABLE=debug |
|
|
40 |
DTRACE_DESC= Build with DTrace probes # move to bsd.options.desc.mk |
41 |
DTRACE_CONFIGURE_ENABLE=dtrace profiling |
42 |
DTRACE_LIBS= -lelf |
39 |
GCZEAL_DESC= Enable Zealous garbage collecting |
43 |
GCZEAL_DESC= Enable Zealous garbage collecting |
40 |
GCZEAL_CONFIGURE_ENABLE=gczeal |
44 |
GCZEAL_CONFIGURE_ENABLE=gczeal |
41 |
JEMALLOC_DESC= Use jemalloc as memory allocator |
45 |
JEMALLOC_DESC= Use jemalloc as memory allocator |
Lines 59-64
UTF8_CFLAGS= -DJS_C_STRINGS_ARE_UTF8
Link Here
|
59 |
CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} |
63 |
CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} |
60 |
.endif |
64 |
.endif |
61 |
|
65 |
|
|
|
66 |
.if ${PORT_OPTIONS:MDTRACE} |
67 |
. if ${OSVERSION} < 1000510 |
68 |
BROKEN= dtrace -G crashes with C++ object files |
69 |
. endif |
70 |
STRIP_CMD= ${TRUE} |
71 |
.endif |
72 |
|
62 |
regression-test: build |
73 |
regression-test: build |
63 |
@${ECHO_MSG} -n "===> Running jstests.py: " |
74 |
@${ECHO_MSG} -n "===> Running jstests.py: " |
64 |
@cd ${WRKSRC} && ${SETENV} TZ=PST8PDT ${PYTHON_CMD} tests/jstests.py \ |
75 |
@cd ${WRKSRC} && ${SETENV} TZ=PST8PDT ${PYTHON_CMD} tests/jstests.py \ |