aboutsummaryrefslogtreecommitdiffstats
path: root/databases/php5-dba
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2005-06-14 22:47:26 +0800
committerale <ale@FreeBSD.org>2005-06-14 22:47:26 +0800
commita1ad353e79d2265672780d7d1b772211bffcafcf (patch)
treedf20bf0d42d65f8f9d5519f3edac89813321dc01 /databases/php5-dba
parent7b42cce7da052274f6bfd630f3e1a18efece7227 (diff)
downloadfreebsd-ports-gnome-a1ad353e79d2265672780d7d1b772211bffcafcf.tar.gz
freebsd-ports-gnome-a1ad353e79d2265672780d7d1b772211bffcafcf.tar.zst
freebsd-ports-gnome-a1ad353e79d2265672780d7d1b772211bffcafcf.zip
Add support for Berkeley DB 4.3 and set it as default version.
PR: ports/82019 Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
Diffstat (limited to 'databases/php5-dba')
-rw-r--r--databases/php5-dba/files/patch-config.m414
1 files changed, 9 insertions, 5 deletions
diff --git a/databases/php5-dba/files/patch-config.m4 b/databases/php5-dba/files/patch-config.m4
index d9de09e95578..0e075c473660 100644
--- a/databases/php5-dba/files/patch-config.m4
+++ b/databases/php5-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 Jan 22 02:36:56 2005
++++ config.m4 Tue Jun 14 16:43:06 2005
+@@ -240,6 +240,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 @@
+@@ -258,7 +270,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)