Bug 74369 - Makefile for ports/devel/pcre does not allow link size to be configured
Summary: Makefile for ports/devel/pcre does not allow link size to be configured
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Kirill Ponomarev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-25 12:40 UTC by david
Modified: 2005-06-12 08:39 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description david 2004-11-25 12:40:26 UTC
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
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-11-25 16:48:42 UTC
Responsible Changed
From-To: freebsd-ports-bugs->eik

Over to maintainer.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2005-06-12 02:12:54 UTC
Responsible Changed
From-To: eik->krion

Assign to new maintainer.
Comment 3 Kirill Ponomarev freebsd_committer freebsd_triage 2005-06-12 08:39:30 UTC
State Changed
From-To: open->closed

Committed, thanks!