diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-06-05 20:02:03 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-06-05 20:02:03 +0000 |
commit | 045dcdcadc7f9bed40543969a7aa3cc97e2e2c7e (patch) | |
tree | 308c07b9f34d44bbb571ac1bf364be94b3d9fa78 /databases | |
parent | 435998af62ad723aceebc6c83ac633bcdb1c527a (diff) | |
download | ports-045dcdcadc7f9bed40543969a7aa3cc97e2e2c7e.tar.gz ports-045dcdcadc7f9bed40543969a7aa3cc97e2e2c7e.zip |
- allow php4-dba to use Berkeley DB 4.3
PR: ports/76150
Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
Approved by: maintainer timeout (5 months)
Notes
Notes:
svn path=/head/; revision=136854
Diffstat (limited to 'databases')
-rw-r--r-- | databases/php4-dba/files/patch-config.m4 | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/databases/php4-dba/files/patch-config.m4 b/databases/php4-dba/files/patch-config.m4 index d9de09e95578..68f03fb373d7 100644 --- a/databases/php4-dba/files/patch-config.m4 +++ b/databases/php4-dba/files/patch-config.m4 @@ -1,9 +1,13 @@ ---- config.m4.orig Thu Jul 8 16:53:32 2004 -+++ config.m4 Thu Jul 8 16:55:49 2004 -@@ -203,6 +203,14 @@ +--- config.m4.orig Sat Sep 25 23:32:20 2004 ++++ config.m4 Wed Jan 12 23:42:24 2005 +@@ -206,6 +206,18 @@ THIS_PREFIX=$i THIS_INCLUDE=$i/db4/db.h break ++ elif test -f "$i/include/db43/db.h"; then ++ THIS_PREFIX=$i ++ THIS_INCLUDE=$i/include/db43/db.h ++ break + elif test -f "$i/include/db42/db.h"; then + THIS_PREFIX=$i + THIS_INCLUDE=$i/include/db42/db.h @@ -15,12 +19,12 @@ elif test -f "$i/include/db4/db.h"; then THIS_PREFIX=$i THIS_INCLUDE=$i/include/db4/db.h -@@ -221,7 +229,7 @@ +@@ -224,7 +236,7 @@ break fi done - PHP_DBA_DB_CHECK(4, 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.2 db-4.1 db-4.0 db-4 db41 db4 db, [(void)db_create((DB**)0, (DB_ENV*)0, 0)]) ++ PHP_DBA_DB_CHECK(4, db-4.3 db-4.2 db-4.1 db-4.0 db-4 db41 db4 db, [(void)db_create((DB**)0, (DB_ENV*)0, 0)]) fi ]) AC_DBA_STD_RESULT(db4,Berkeley DB4) |