Bug 145625

Summary: lang/php5 won't build extensions with external pcre
Product: Ports & Packages Reporter: neil
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description neil 2010-04-11 12:20:01 UTC
Building of some extensions e.g. php5-filter and php5-zip fails
because headers are looked for in /usr/local/include/php/ext/pcre even when the
external devel/pcre port is used for pcre functionality.
Building WITH_BUNDLED_PCRE=yes allows these extensions to build correcly.

Fix: 

I think the configure arguments need fixing for the devel/pcre use case.
How-To-Repeat: Attempt to build php5-filter or php5-zip
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-04-11 12:20:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2010-04-11 12:20:56 UTC
State Changed
From-To: open->closed

Bogus, you haven't read ports/UPDATING (and so removed php5-pcre port after updating php5).
Comment 3 neil 2010-04-11 17:43:16 UTC
I *did* read UPDATING!

There is no /usr/local/include/php/ext/pcre directory when external pcre is 
used.

I did the following:
1) pkg_deinstalled php5-extensions, php5-filter, php5-mhash, php5-pcre, 
php5-spl and php5-zip
2) rebuilt php5 and then php5-extensions
3) the build failed on first extesion rebuild i.e. php5-filter