aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2012-12-12 17:21:09 +0800
committerale <ale@FreeBSD.org>2012-12-12 17:21:09 +0800
commit81855aa714554ffb9c5261dff2851d88dc60cb8d (patch)
tree0a7ed08156bc2501bd0d7b9d17708fef289fef53 /databases
parent435bba9ccb2805ee74ad22ab6e297d698b6ec839 (diff)
downloadfreebsd-ports-gnome-81855aa714554ffb9c5261dff2851d88dc60cb8d.tar.gz
freebsd-ports-gnome-81855aa714554ffb9c5261dff2851d88dc60cb8d.tar.zst
freebsd-ports-gnome-81855aa714554ffb9c5261dff2851d88dc60cb8d.zip
Fix build with databases/db5.
PR: ports/174381 Submitted by: Alexander Wittig <alexander@wittig.name>
Diffstat (limited to 'databases')
-rw-r--r--databases/php5-dba/files/patch-config.m422
1 files changed, 5 insertions, 17 deletions
diff --git a/databases/php5-dba/files/patch-config.m4 b/databases/php5-dba/files/patch-config.m4
index 4bb0ed06fc48..1df828460e05 100644
--- a/databases/php5-dba/files/patch-config.m4
+++ b/databases/php5-dba/files/patch-config.m4
@@ -1,6 +1,6 @@
---- 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 @@
+--- config.m4.orig 2012-11-21 06:12:20.000000000 +0100
++++ config.m4 2012-12-12 10:18:42.000000000 +0100
+@@ -320,6 +320,38 @@
THIS_PREFIX=$i
THIS_INCLUDE=$i/db4/db.h
break
@@ -8,14 +8,6 @@
+ 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
-+ break
-+ elif test -f "$i/include/db50/db.h"; then
-+ THIS_PREFIX=$i
-+ THIS_INCLUDE=$i/include/db50/db.h
-+ break
+ elif test -f "$i/include/db48/db.h"; then
+ THIS_PREFIX=$i
+ THIS_INCLUDE=$i/include/db48/db.h
@@ -28,10 +20,6 @@
+ THIS_PREFIX=$i
+ THIS_INCLUDE=$i/include/db46/db.h
+ break
-+ elif test -f "$i/include/db45/db.h"; then
-+ THIS_PREFIX=$i
-+ THIS_INCLUDE=$i/include/db45/db.h
-+ break
+ elif test -f "$i/include/db44/db.h"; then
+ THIS_PREFIX=$i
+ THIS_INCLUDE=$i/include/db44/db.h
@@ -51,12 +39,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 @@
+@@ -362,7 +394,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)])
++ PHP_DBA_DB_CHECK(4, db-5 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)