summaryrefslogtreecommitdiffstats
path: root/databases/php5-dba
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-07-19 08:49:03 +0000
committerale <ale@FreeBSD.org>2004-07-19 08:49:03 +0000
commit287111d7667a0c544cab877af4efb53a861b27fc (patch)
tree38e048b725344c30ef44cc5733185e938580de5c /databases/php5-dba
parente8e7005dbc68f749b98928ab33288e6ed1b0707f (diff)
downloadFreeBSD-ports-287111d7667a0c544cab877af4efb53a861b27fc.zip
FreeBSD-ports-287111d7667a0c544cab877af4efb53a861b27fc.tar.gz
Add a new shared extension for PHP.
Diffstat (limited to 'databases/php5-dba')
-rw-r--r--databases/php5-dba/Makefile14
-rw-r--r--databases/php5-dba/files/patch-config.m426
2 files changed, 40 insertions, 0 deletions
diff --git a/databases/php5-dba/Makefile b/databases/php5-dba/Makefile
new file mode 100644
index 0000000..3c60ab0
--- /dev/null
+++ b/databases/php5-dba/Makefile
@@ -0,0 +1,14 @@
+# New ports collection makefile for: php5-dba
+# Date created: 7 Jul 2004
+# Whom: Alex Dupre <ale@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+CATEGORIES= databases
+
+MASTERDIR= ${.CURDIR}/../../lang/php5
+
+PKGNAMESUFFIX= -dba
+
+.include "${MASTERDIR}/Makefile"
diff --git a/databases/php5-dba/files/patch-config.m4 b/databases/php5-dba/files/patch-config.m4
new file mode 100644
index 0000000..d9de09e
--- /dev/null
+++ b/databases/php5-dba/files/patch-config.m4
@@ -0,0 +1,26 @@
+--- config.m4.orig Thu Jul 8 16:53:32 2004
++++ config.m4 Thu Jul 8 16:55:49 2004
+@@ -203,6 +203,14 @@
+ THIS_PREFIX=$i
+ THIS_INCLUDE=$i/db4/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/db.h"; then
+ THIS_PREFIX=$i
+ THIS_INCLUDE=$i/include/db4/db.h
+@@ -221,7 +229,7 @@
+ break
+ fi
+ done
+- PHP_DBA_DB_CHECK(4, 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.2 db-4.1 db-4.0 db-4 db41 db4 db, [(void)db_create((DB**)0, (DB_ENV*)0, 0)])
+ fi
+ ])
+ AC_DBA_STD_RESULT(db4,Berkeley DB4)
OpenPOWER on IntegriCloud