| @@ -1,19 +1,19 @@ | | | @@ -1,19 +1,19 @@ |
1 | # $NetBSD: options.mk,v 1.1 2017/09/07 13:47:21 wiz Exp $ | | 1 | # $NetBSD: options.mk,v 1.2 2017/09/07 14:50:44 wiz Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.pcre2 | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.pcre2 |
4 | PKG_SUPPORTED_OPTIONS= pcre2-jit | | 4 | PKG_SUPPORTED_OPTIONS= pcre2-jit |
5 | | | 5 | |
6 | .if (${MACHINE_ARCH} == "i386" || \ | | 6 | .if (${MACHINE_ARCH} == "i386" || \ |
7 | ${MACHINE_ARCH} == "x86_64" || \ | | 7 | ${MACHINE_ARCH} == "x86_64" || \ |
8 | ${MACHINE_ARCH} == "mips" || \ | | 8 | ${MACHINE_ARCH} == "mips" || \ |
9 | ${MACHINE_ARCH} == "powerpc" || \ | | 9 | ${MACHINE_ARCH} == "powerpc" || \ |
10 | ${MACHINE_ARCH} == "sparc" || \ | | 10 | ${MACHINE_ARCH} == "sparc" || \ |
11 | (!empty(MACHINE_ARCH:Marm) && empty(MACHINE_ARCH:Marmv4))) | | 11 | (!empty(MACHINE_ARCH:M*arm*) && empty(MACHINE_ARCH:M*armv4*))) |
12 | PKG_SUGGESTED_OPTIONS= pcre2-jit | | 12 | PKG_SUGGESTED_OPTIONS= pcre2-jit |
13 | .endif | | 13 | .endif |
14 | | | 14 | |
15 | .include "../../mk/bsd.options.mk" | | 15 | .include "../../mk/bsd.options.mk" |
16 | | | 16 | |
17 | .if !empty(PKG_OPTIONS:Mpcre2-jit) | | 17 | .if !empty(PKG_OPTIONS:Mpcre2-jit) |
18 | CONFIGURE_ARGS+= --enable-jit | | 18 | CONFIGURE_ARGS+= --enable-jit |
19 | .endif | | 19 | .endif |