summaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-06-05 20:02:03 +0000
committerpav <pav@FreeBSD.org>2005-06-05 20:02:03 +0000
commit8c7895d34bb474e40b41720d3141362fc4f0c1e9 (patch)
tree7b12362715454a31e0753811d959c23b91a43ccb /databases
parent82d365fcb9f0c87bdd8486d938178fac1def4a21 (diff)
downloadFreeBSD-ports-8c7895d34bb474e40b41720d3141362fc4f0c1e9.zip
FreeBSD-ports-8c7895d34bb474e40b41720d3141362fc4f0c1e9.tar.gz
- 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)
Diffstat (limited to 'databases')
-rw-r--r--databases/php4-dba/files/patch-config.m414
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 d9de09e..68f03fb 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)
OpenPOWER on IntegriCloud