Bug 154363

Summary: [PATCH] databases/php5-dba BDB 5.1 support
Product: Ports & Packages Reporter: alexander
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Description Flags
patch none

Description alexander 2011-01-29 00:00:19 UTC
When compiling the current port with WITH_BDB_VER=51 set and the appropriate BDB 5.1 port installed,
the configure stage of the dba extension fails with a library mismatch if configured to compile with BDB.

Fix: Attached patch extends the already existing patch in the port to also check for BDB 5.1
The resulting php5-dba works fine for me with BDB 5.1.

Note that on the PHP website it sounds like BDB 5.1 should be supported since version 3.5.4, but somehow that seems to be not the case for the configure script:
DBA extension:
    * Added Berkeley DB 5.1 support to the DBA extension. (Oracle Corp.)
(from http://php.net/ChangeLog-5.php, 5.3.4 entry)

How-To-Repeat: Uninstall all BDB ports
build php5-dba extension
Comment 1 Edwin Groothuis freebsd_committer 2011-01-29 00:00:34 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2011-02-08 10:41:36 UTC
ale         2011-02-08 10:41:32 UTC

  FreeBSD ports repository

  Modified files:
    databases/php5-dba/files patch-config.m4 
  Add support for BDB 5.1.
  PR:             ports/154363
  Submitted by:   Alexander Wittig <alexander@wittig.name>
  Feature safe:   yes
  Revision  Changes    Path
  1.10      +16 -3     ports/databases/php5-dba/files/patch-config.m4
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Alex Dupre freebsd_committer 2011-02-08 10:41:48 UTC
State Changed
From-To: open->closed

Committed, thanks.