1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Add support for bdb 5.2.

PR:		ports/160197
Submitted by:	sunpoet
This commit is contained in:
Alex Dupre 2011-08-26 07:33:43 +00:00
parent c6ffc448fd
commit f7ea4ec0dd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=280502

View File

@ -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)