freebsd-ports/databases/php5-dba/files/patch-config.m4
2011-08-19 09:33:31 +00:00

49 lines
1.5 KiB
Text

--- 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 @@
THIS_PREFIX=$i
THIS_INCLUDE=$i/db4/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
+ break
+ elif test -f "$i/include/db47/db.h"; then
+ THIS_PREFIX=$i
+ THIS_INCLUDE=$i/include/db47/db.h
+ break
+ elif test -f "$i/include/db46/db.h"; then
+ 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
+ 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
+ break
+ elif test -f "$i/include/db41/db.h"; then
+ THIS_PREFIX=$i
+ THIS_INCLUDE=$i/include/db41/db.h
+ break
elif test -f "$i/include/db5.1/db.h"; then
THIS_PREFIX=$i
THIS_INCLUDE=$i/include/db5.1/db.h