aboutsummaryrefslogtreecommitdiff
path: root/databases/php53-dba
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2012-05-16 09:46:51 +0000
committerFlorian Smeets <flo@FreeBSD.org>2012-05-16 09:46:51 +0000
commit902a0675beeba6c01a038f9594a0c532079fd2f2 (patch)
treee640f9d726eb930319bafe09a6173a5b67843921 /databases/php53-dba
parentc76d4dd7170ff14ee3d83458ff9f89cdbc7a5694 (diff)
downloadports-902a0675beeba6c01a038f9594a0c532079fd2f2.tar.gz
ports-902a0675beeba6c01a038f9594a0c532079fd2f2.zip
Notes
Diffstat (limited to 'databases/php53-dba')
-rw-r--r--databases/php53-dba/Makefile14
-rw-r--r--databases/php53-dba/files/patch-config.m462
2 files changed, 76 insertions, 0 deletions
diff --git a/databases/php53-dba/Makefile b/databases/php53-dba/Makefile
new file mode 100644
index 000000000000..b296a8016ad0
--- /dev/null
+++ b/databases/php53-dba/Makefile
@@ -0,0 +1,14 @@
+# New ports collection makefile for: php53-dba
+# Date created: 12 Apr 2012
+# Whom: Florian Smeets <flo@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+CATEGORIES= databases
+
+MASTERDIR= ${.CURDIR}/../../lang/php53
+
+PKGNAMESUFFIX= -dba
+
+.include "${MASTERDIR}/Makefile"
diff --git a/databases/php53-dba/files/patch-config.m4 b/databases/php53-dba/files/patch-config.m4
new file mode 100644
index 000000000000..4bb0ed06fc48
--- /dev/null
+++ b/databases/php53-dba/files/patch-config.m4
@@ -0,0 +1,62 @@
+--- 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
++ 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
+@@ -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)
+