diff options
author | adamw <adamw@FreeBSD.org> | 2016-11-01 00:48:29 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2016-11-01 00:48:29 +0800 |
commit | 0bb169017abcf12cade15d49720c563e9a5bf7ef (patch) | |
tree | e4aacb2af5a24fb7e046401e9a853d10c6344fee | |
parent | ac4b892e4bf55ffbacd0ea7381916d05b48a7041 (diff) | |
download | freebsd-ports-gnome-0bb169017abcf12cade15d49720c563e9a5bf7ef.tar.gz freebsd-ports-gnome-0bb169017abcf12cade15d49720c563e9a5bf7ef.tar.zst freebsd-ports-gnome-0bb169017abcf12cade15d49720c563e9a5bf7ef.zip |
Use an option helper and put the description block for it into a pkg-help.
Improve an ARCH-checking construct.
-rw-r--r-- | devel/pcre/Makefile | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/devel/pcre/Makefile b/devel/pcre/Makefile index e787ff267dc9..ac96707d0633 100644 --- a/devel/pcre/Makefile +++ b/devel/pcre/Makefile @@ -43,13 +43,9 @@ LIBEDIT_CONFIGURE_ENABLE= pcretest-libedit READLINE_USES= readline READLINE_CONFIGURE_ENABLE= pcretest-libreadline -.include <bsd.port.options.mk> +STACK_RECURSION_CONFIGURE_ENABLE= stack-for-recursion -# Using the heap rather than the stack for recursion is slower but less -# prone to segfaults from stack exhaustion when matching certain patterns -.if !${PORT_OPTIONS:MSTACK_RECURSION} -CONFIGURE_ARGS+= --disable-stack-for-recursion -.endif +.include <bsd.port.pre.mk> # Optional knobs that accept positive integer parameters (see pcrebuild(3)): @@ -84,9 +80,7 @@ CONFIGURE_ARGS+= --with-parens-nest-limit=${WITH_PARENS_NEST_LIMIT} CONFIGURE_ARGS+= --with-posix-malloc-threshold=${WITH_POSIX_MALLOC_THRESHOLD} .endif -.include <bsd.port.pre.mk> - -.if ${ARCH} != "sparc64" && ${ARCH} != "ia64" && ${ARCH:Mmips64*} == "" +.if ${ARCH} != "sparc64" && ${ARCH} != "ia64" && empty(ARCH:Mmips64*) CONFIGURE_ARGS+= --enable-jit .else CONFIGURE_ARGS+= --disable-jit |