diff options
author | ale <ale@FreeBSD.org> | 2008-12-11 20:03:09 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2008-12-11 20:03:09 +0800 |
commit | 27033e43f666d10e53f62bbe2028ddc29ce5165f (patch) | |
tree | ea8a42ed294e8eb1733837bbb72c5a1a6d6f1e02 | |
parent | 777794f7acf212a6f08dc64d6d3e78717b8be018 (diff) | |
download | freebsd-ports-gnome-27033e43f666d10e53f62bbe2028ddc29ce5165f.tar.gz freebsd-ports-gnome-27033e43f666d10e53f62bbe2028ddc29ce5165f.tar.zst freebsd-ports-gnome-27033e43f666d10e53f62bbe2028ddc29ce5165f.zip |
Add support for BDB 4.7.
-rw-r--r-- | databases/php5-dba/files/patch-config.m4 | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/databases/php5-dba/files/patch-config.m4 b/databases/php5-dba/files/patch-config.m4 index 5bd00498a0e9..02761b927e42 100644 --- a/databases/php5-dba/files/patch-config.m4 +++ b/databases/php5-dba/files/patch-config.m4 @@ -1,9 +1,13 @@ --- config.m4.orig 2007-12-06 15:17:43.000000000 +0100 -+++ config.m4 2008-05-02 10:05:06.000000000 +0200 -@@ -280,6 +280,30 @@ ++++ config.m4 2008-12-11 12:50:27.000000000 +0100 +@@ -280,6 +280,34 @@ THIS_PREFIX=$i THIS_INCLUDE=$i/db4/db.h break ++ elif test -f "$i/include/db47/db.h"; then ++ THIS_PREFIX=$i ++ THIS_INCLUDE=$i/include/db47/db.h ++ break + elif test -f "$i/include/db46/db.h"; then + THIS_PREFIX=$i + THIS_INCLUDE=$i/include/db46/db.h @@ -31,3 +35,12 @@ elif test -f "$i/include/db4.6/db.h"; then THIS_PREFIX=$i THIS_INCLUDE=$i/include/db4.6/db.h +@@ -306,7 +334,7 @@ + break + fi + done +- PHP_DBA_DB_CHECK(4, 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-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) + |