FreeBSD Port: php5-5.2.1_3

J. McGee jmcgee at clear-data.com
Tue Mar 6 23:30:07 UTC 2007


Ale,

I made the following changes in my local ports tree to 
lang/php5/Makefile.ext starting at line 233 due to a nasty 
bug(http://bugs.php.net/bug.php?id=38327&edit=1) that killed half of my 
websites after upgrading php.  This allowed me to use the ports version 
of pcre-7.0(utf8) instead of the broken php included 6.7.  I don't know 
the proper chains to go about notifying anyone or writing this change 
correctly, so I thought I would send you an e-mail as you are listed as 
the maintainer.

Diff:
[root at rod /usr/ports/lang/php5]# diff Makefile.ext.bak Makefile.ext
235c235,237
< CONFIGURE_ARGS+=--with-pcre-regex=yes
---
 > LIB_DEPENDS+=   pcre.0:${PORTSDIR}/devel/pcre-utf8
 >
 > CONFIGURE_ARGS+=--with-pcre-regex=/usr/local
[root at rod /usr/ports/lang/php5]#

OLD:
.if ${PHP_MODNAME} == "pcre"
CONFIGURE_ARGS+=--with-pcre-regex=yes

PHP_HEADER_DIRS=pcrelib
.endif


NEW:
.if ${PHP_MODNAME} == "pcre"
LIB_DEPENDS+=   pcre.0:${PORTSDIR}/devel/pcre-utf8

CONFIGURE_ARGS+=--with-pcre-regex=/usr/local

PHP_HEADER_DIRS=pcrelib
.endif

Hopefully this gets to you and doesn't get filed as spam.

--Jared

-- 
J. McGee
Clear-Data Administrator

AIM: Jared Tweaked
E-Mail: jmcgee at clear-data.com

Clear-Data Internet Services
http://www.clear-data.com
The Solution is Clear!



More information about the freebsd-ports mailing list