The pcre library can be configured to adjust its internal data structures to allow the compilation of jumbo-sized patterns. This is specified by adding the --with-link-size=n to the configure script. The Makefile in the ports directory does not allow this to be overridden from the default value of 2. The problem exists in the current Makefile of the port. The unified diff patch below allows the port to be built with the following: make WITH_LINK_SIZE=3 and the problem is fixed. The Makefile contains the following revision tag: # $FreeBSD: ports/devel/pcre/Makefile,v 1.23 2004/10/12 00:16:52 eik Exp $ Fix: The following unified diff patch provides the desired functionality. +.if defined(WITH_LINK_SIZE) +CONFIGURE_ARGS+= \ + --with-link-size=${WITH_LINK_SIZE} +.endif + CONFIGURE_TARGET= \ --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}--VgVomVzZZtuwcybKdzJmK3nFT1eN0HbbfNbGmzOp03nBR4r2 Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- Makefile.dist Thu Nov 25 13:07:55 2004 +++ Makefile Thu Nov 25 13:14:36 2004 @@ -31,6 +31,11 @@ --enable-unicode-properties .endif How-To-Repeat: Problem exists in current Makefile
Responsible Changed From-To: freebsd-ports-bugs->eik Over to maintainer.
Responsible Changed From-To: eik->krion Assign to new maintainer.
State Changed From-To: open->closed Committed, thanks!