Hi.

This diff adds support for utf8 to devel/pcre.
This should be safe, from the readme:
"Without it, the code for handling UTF-8 is not included in the library. (Even when included, it still has to be enabled by an option at run time.)"

OK?

--
Antoine
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/pcre/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile    19 Jun 2006 09:46:43 -0000      1.19
+++ Makefile    27 May 2007 03:12:18 -0000
@@ -3,7 +3,7 @@
 COMMENT=       "perl-compatible regular expression library"
 
 DISTNAME=      pcre-6.4
-PKGNAME=       ${DISTNAME}p1
+PKGNAME=       ${DISTNAME}p2
 SHARED_LIBS=           pcre            1.0 \
                        pcrecpp         2.0 \
                        pcreposix       1.0
@@ -25,7 +25,9 @@
 WANTLIB=               c
 
 CONFIGURE_STYLE=       gnu
-CONFIGURE_ARGS=                ${CONFIGURE_SHARED}
+CONFIGURE_ARGS=                ${CONFIGURE_SHARED} \
+                       --enable-utf8 \
+                       --enable-unicode-properties
 
 USE_LIBTOOL=           Yes
 

Reply via email to