summaryrefslogtreecommitdiff
path: root/devel/pcre
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-06-12 07:39:16 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-06-12 07:39:16 +0000
commit230199e84983966a293b3142a02450d35799cf21 (patch)
treead693d4a006d0267f9124723aa2bd3ceefbb8edd /devel/pcre
parentDisable optimization (diff)
Add WITH_LINK_SIZE knob which allows to adjust pcre internal data
structures for compilation of jumbo-sized patterns. PR: ports/74369 Submitted by: David Landgren <david (at) landgren dot net>
Notes
Notes: svn path=/head/; revision=137307
Diffstat (limited to 'devel/pcre')
-rw-r--r--devel/pcre/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/devel/pcre/Makefile b/devel/pcre/Makefile
index 32652e842011..0cc99f600005 100644
--- a/devel/pcre/Makefile
+++ b/devel/pcre/Makefile
@@ -11,8 +11,7 @@ CATEGORIES= devel
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/programming/%SUBDIR%/ \
ftp://ftp.fu-berlin.de/unix/misc/%SUBDIR%/ \
ftp://ftp.tin.org/pub/libs/%SUBDIR%/
-MASTER_SITE_SUBDIR= \
- ${PORTNAME}
+MASTER_SITE_SUBDIR=${PORTNAME}
MAINTAINER= krion@FreeBSD.org
COMMENT= Perl Compatible Regular Expressions library
@@ -26,13 +25,15 @@ PORTDOCS= *
.endif
.if defined(WITH_UTF8)
-CONFIGURE_ARGS+= \
- --enable-utf8 \
+CONFIGURE_ARGS+=--enable-utf8 \
--enable-unicode-properties
.endif
-CONFIGURE_TARGET= \
- --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+.if defined(WITH_LINK_SIZE)
+CONFIGURE_ARGS+=--with-link-size=${WITH_LINK_SIZE}
+.endif
+
+CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= pcregrep.1 pcretest.1
MAN3= pcre.3 pcre_compile.3 pcre_config.3 \