aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-04-23 23:40:05 +0800
committerdinoex <dinoex@FreeBSD.org>2010-04-23 23:40:05 +0800
commitf167e2b999889d7d90235d66054a7249a00d50f8 (patch)
tree1320c1d9bdf8e947b03ffbabb32f3c6aeaf911d9 /databases
parente8174e776ab817114edef6f4fb764a371f915b33 (diff)
downloadfreebsd-ports-gnome-f167e2b999889d7d90235d66054a7249a00d50f8.tar.gz
freebsd-ports-gnome-f167e2b999889d7d90235d66054a7249a00d50f8.tar.zst
freebsd-ports-gnome-f167e2b999889d7d90235d66054a7249a00d50f8.zip
- PHP 5.2 slave port
PR: 145772 Submitted by: Alex Keda
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/php52-dba/Makefile14
-rw-r--r--databases/php52-dba/files/patch-config.m446
-rw-r--r--databases/php52-dbase/Makefile14
4 files changed, 75 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index ec0cddd15dbd..87a760c234c8 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -519,6 +519,7 @@
SUBDIR += php5-sqlite
SUBDIR += php5-sybase_ct
SUBDIR += php52-dba
+ SUBDIR += php52-dbase
SUBDIR += phpminiadmin
SUBDIR += phpmyadmin
SUBDIR += phpmyadmin211
diff --git a/databases/php52-dba/Makefile b/databases/php52-dba/Makefile
new file mode 100644
index 000000000000..b1f4d34be451
--- /dev/null
+++ b/databases/php52-dba/Makefile
@@ -0,0 +1,14 @@
+# New ports collection makefile for: php52-dba
+# Date created: 17 Apr 2010
+# Whom: Alex Keda <admin@lissyara.su>
+#
+# $FreeBSD$
+#
+
+CATEGORIES= databases
+
+MASTERDIR= ${.CURDIR}/../../lang/php52
+
+PKGNAMESUFFIX= -dba
+
+.include "${MASTERDIR}/Makefile"
diff --git a/databases/php52-dba/files/patch-config.m4 b/databases/php52-dba/files/patch-config.m4
new file mode 100644
index 000000000000..02761b927e42
--- /dev/null
+++ b/databases/php52-dba/files/patch-config.m4
@@ -0,0 +1,46 @@
+--- config.m4.orig 2007-12-06 15:17:43.000000000 +0100
++++ config.m4 2008-12-11 12:50:27.000000000 +0100
+@@ -280,6 +280,34 @@
+ THIS_PREFIX=$i
+ THIS_INCLUDE=$i/db4/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/db4.6/db.h"; then
+ THIS_PREFIX=$i
+ THIS_INCLUDE=$i/include/db4.6/db.h
+@@ -306,7 +334,7 @@
+ break
+ fi
+ done
+- PHP_DBA_DB_CHECK(4, 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-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)
+
diff --git a/databases/php52-dbase/Makefile b/databases/php52-dbase/Makefile
new file mode 100644
index 000000000000..f08cf3086bf9
--- /dev/null
+++ b/databases/php52-dbase/Makefile
@@ -0,0 +1,14 @@
+# New ports collection makefile for: php52-dbase
+# Date created: 17 Apr 2010
+# Whom: Alex Keda <admin@lissyara.su>
+#
+# $FreeBSD$
+#
+
+CATEGORIES= databases
+
+MASTERDIR= ${.CURDIR}/../../lang/php52
+
+PKGNAMESUFFIX= -dbase
+
+.include "${MASTERDIR}/Makefile"