svn commit: r425013 - head/devel/pcre
Adam Weinberger
adamw at FreeBSD.org
Mon Oct 31 16:48:31 UTC 2016
Author: adamw
Date: Mon Oct 31 16:48:29 2016
New Revision: 425013
URL: https://svnweb.freebsd.org/changeset/ports/425013
Log:
Use an option helper and put the description block for it into a pkg-help.
Improve an ARCH-checking construct.
Modified:
head/devel/pcre/Makefile
Modified: head/devel/pcre/Makefile
==============================================================================
--- head/devel/pcre/Makefile Mon Oct 31 16:24:59 2016 (r425012)
+++ head/devel/pcre/Makefile Mon Oct 31 16:48:29 2016 (r425013)
@@ -43,13 +43,9 @@ LIBEDIT_CONFIGURE_ENABLE= pcretest-libed
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-limi
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
More information about the svn-ports-all
mailing list