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:
* 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
Over to maintainer (via the GNATS Auto Assign Tool)
ale 2011-02-08 10:41:32 UTC
FreeBSD ports repository
Add support for BDB 5.1.
Submitted by: Alexander Wittig <firstname.lastname@example.org>
Feature safe: yes
Revision Changes Path
1.10 +16 -3 ports/databases/php5-dba/files/patch-config.m4
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"