Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Oct 2016 16:48:29 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r425013 - head/devel/pcre
Message-ID:  <201610311648.u9VGmTY4080258@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610311648.u9VGmTY4080258>