Bug 119039

Summary: [PATCH] Incorrect dependency between devel/php5-spl and textproc/php5-simplexml
Product: Ports & Packages Reporter: Eugene M. Kim <freebsd.org>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch-ports::lang::php5::Makefile.ext none

Description Eugene M. Kim 2007-12-26 12:20:00 UTC
The simplexml module depends on the spl module in the PHP 5.2.5
distribution (according to ext/{spl,simplexml}/config.m4); however, the
dependency is set the other way around in ports/lang/php5/Makefile.ext,
such that spl depends on simplexml instead.

This breaks the build of simplexml in absence of spl (e.g. when
portupgrade decides to install simplexml before spl because it thinks
spl depends on simplexml), because the required spl header files are
not present on the system yet.

Fix: The following patch modifies ports/lang/php5/Makefile.ext so that
simplexml correctly depends on spl, and not spl on simplexml.
How-To-Repeat: On a clean system without any php5 ports installed, run "portinstall -R
php5-simplexml php5-spl".
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-12-26 21:54: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 2007-12-27 06:46:17 UTC
State Changed
From-To: open->closed

The dependency is correct and simplexml builds fine without spl. 
Perhaps you have a screwed up php installation, try remove it completely.