Lines 1-6
Link Here
|
1 |
PORTNAME= pcre |
1 |
PORTNAME= pcre |
2 |
PORTVERSION= 8.45 |
2 |
PORTVERSION= 8.45 |
3 |
PORTREVISION= 1 |
3 |
PORTREVISION= 2 |
4 |
CATEGORIES= devel |
4 |
CATEGORIES= devel |
5 |
MASTER_SITES= https://ftp.pcre.org/pub/pcre/ \ |
5 |
MASTER_SITES= https://ftp.pcre.org/pub/pcre/ \ |
6 |
SF |
6 |
SF |
Lines 31-46
TEST_TARGET= check
Link Here
|
31 |
|
31 |
|
32 |
PORTDOCS= * |
32 |
PORTDOCS= * |
33 |
|
33 |
|
34 |
OPTIONS_DEFINE= DOCS MAN3 STACK_RECURSION |
34 |
OPTIONS_DEFINE= DOCS JIT MAN3 STACK_RECURSION |
35 |
OPTIONS_DEFAULT= MAN3 STACK_RECURSION |
35 |
OPTIONS_DEFAULT= MAN3 STACK_RECURSION |
|
|
36 |
OPTIONS_DEFAULT_amd64+= JIT |
37 |
OPTIONS_DEFAULT_i386+= JIT |
38 |
OPTIONS_DEFAULT_aarch64+= JIT |
39 |
OPTIONS_DEFAULT_mips+= JIT |
36 |
OPTIONS_SUB= yes |
40 |
OPTIONS_SUB= yes |
37 |
|
41 |
|
38 |
OPTIONS_RADIO= CLI |
42 |
OPTIONS_RADIO= CLI |
39 |
OPTIONS_RADIO_CLI= LIBEDIT READLINE |
43 |
OPTIONS_RADIO_CLI= LIBEDIT READLINE |
40 |
|
44 |
|
|
|
45 |
JIT_DESC= Use the JIT compiler (not available on all platforms) |
41 |
MAN3_DESC= Install API manpages (section 3) |
46 |
MAN3_DESC= Install API manpages (section 3) |
42 |
STACK_RECURSION_DESC= Use the stack for recursion during matching |
47 |
STACK_RECURSION_DESC= Use the stack for recursion during matching |
43 |
|
48 |
|
|
|
49 |
JIT_CONFIGURE_ENABLE= jit |
50 |
|
44 |
LIBEDIT_USES= libedit |
51 |
LIBEDIT_USES= libedit |
45 |
LIBEDIT_CONFIGURE_ENABLE= pcretest-libedit |
52 |
LIBEDIT_CONFIGURE_ENABLE= pcretest-libedit |
46 |
|
53 |
|
Lines 84-95
CONFIGURE_ARGS+= --with-parens-nest-limit=${WITH_PARENS_NEST_LIMIT}
Link Here
|
84 |
CONFIGURE_ARGS+= --with-posix-malloc-threshold=${WITH_POSIX_MALLOC_THRESHOLD} |
91 |
CONFIGURE_ARGS+= --with-posix-malloc-threshold=${WITH_POSIX_MALLOC_THRESHOLD} |
85 |
.endif |
92 |
.endif |
86 |
|
93 |
|
87 |
.if ${ARCH} != "sparc64" && empty(ARCH:Mmips64*) && empty(ARCH:Mriscv64*) |
|
|
88 |
CONFIGURE_ARGS+= --enable-jit |
89 |
.else |
90 |
CONFIGURE_ARGS+= --disable-jit |
91 |
.endif |
92 |
|
93 |
post-patch: |
94 |
post-patch: |
94 |
@${REINPLACE_CMD} -e "/^\.rs/d" ${WRKSRC}/doc/*.3 ${WRKSRC}/doc/*.1 |
95 |
@${REINPLACE_CMD} -e "/^\.rs/d" ${WRKSRC}/doc/*.3 ${WRKSRC}/doc/*.1 |
95 |
@${REINPLACE_CMD} -e "s/£//g" ${WRKSRC}/doc/pcre_compile2.3 |
96 |
@${REINPLACE_CMD} -e "s/£//g" ${WRKSRC}/doc/pcre_compile2.3 |