diff options
author | Alex Dupre <ale@FreeBSD.org> | 2011-08-26 07:33:43 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2011-08-26 07:33:43 +0000 |
commit | f7ea4ec0dd201b707bdd38f5ea1beea64cf128af (patch) | |
tree | 6ee62008963223fac5a52ce2a2c2132600ef9879 | |
parent | c6ffc448fd4a04cedca6e4bfe54649df438757a5 (diff) |
Add support for bdb 5.2.
PR: ports/160197
Submitted by: sunpoet
Notes
Notes:
svn path=/head/; revision=280502
-rw-r--r-- | databases/php5-dba/files/patch-config.m4 | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/databases/php5-dba/files/patch-config.m4 b/databases/php5-dba/files/patch-config.m4 index 0e4eca2b7d56..4bb0ed06fc48 100644 --- a/databases/php5-dba/files/patch-config.m4 +++ b/databases/php5-dba/files/patch-config.m4 @@ -1,9 +1,13 @@ ---- config.m4.orig 2010-12-01 20:20:16.000000000 +0100 -+++ config.m4 2011-02-08 11:40:04.000000000 +0100 -@@ -285,6 +285,46 @@ +--- config.m4.orig 2011-06-27 22:28:30.000000000 +0200 ++++ config.m4 2011-08-26 09:32:43.000000000 +0200 +@@ -285,6 +285,50 @@ THIS_PREFIX=$i THIS_INCLUDE=$i/db4/db.h break ++ elif test -f "$i/include/db5/db.h"; then ++ THIS_PREFIX=$i ++ THIS_INCLUDE=$i/include/db5/db.h ++ break + elif test -f "$i/include/db51/db.h"; then + THIS_PREFIX=$i + THIS_INCLUDE=$i/include/db51/db.h @@ -47,3 +51,12 @@ elif test -f "$i/include/db5.1/db.h"; then THIS_PREFIX=$i THIS_INCLUDE=$i/include/db5.1/db.h +@@ -327,7 +371,7 @@ + break + fi + done +- PHP_DBA_DB_CHECK(4, db-5.1 db-5.0 db-4.8 db-4.7 db-4.6 db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-4 db4 db, [(void)db_create((DB**)0, (DB_ENV*)0, 0)]) ++ PHP_DBA_DB_CHECK(4, db-5.2 db-5.1 db-5.0 db-4.8 db-4.7 db-4.6 db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-4 db4 db, [(void)db_create((DB**)0, (DB_ENV*)0, 0)]) + fi + PHP_DBA_STD_RESULT(db4,Berkeley DB4) + |