Date: Thu, 25 Nov 2004 13:38:29 +0100 (CET) From: David Landgren <david@landgren.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/74369: Makefile for ports/devel/pcre does not allow link size to be configured Message-ID: <20041125123829.19CE0D4E1@sferics.mongueurs.net> Resent-Message-ID: <200411251240.iAPCeRJl080518@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 74369 >Category: ports >Synopsis: Makefile for ports/devel/pcre does not allow link size to be configured >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 25 12:40:26 GMT 2004 >Closed-Date: >Last-Modified: >Originator: David Landgren >Release: FreeBSD 4.10-STABLE >Organization: >Environment: System: profane.mongueurs.net 4.10-STABLE FreeBSD 4.10-STABLE #4: Fri Oct 8 15:03:06 CEST 2004 root@profane.mongueurs.net:/usr/obj/usr/src/sys/PROFANE i386 >Description: 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 $ >How-To-Repeat: Problem exists in current Makefile >Fix: The following unified diff patch provides the desired functionality. --- 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 +.if defined(WITH_LINK_SIZE) +CONFIGURE_ARGS+= \ + --with-link-size=${WITH_LINK_SIZE} +.endif + CONFIGURE_TARGET= \ --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041125123829.19CE0D4E1>