diff options
author | ale <ale@FreeBSD.org> | 2004-07-19 16:49:03 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2004-07-19 16:49:03 +0800 |
commit | 287111d7667a0c544cab877af4efb53a861b27fc (patch) | |
tree | 38e048b725344c30ef44cc5733185e938580de5c /databases | |
parent | e8e7005dbc68f749b98928ab33288e6ed1b0707f (diff) | |
download | freebsd-ports-gnome-287111d7667a0c544cab877af4efb53a861b27fc.tar.gz freebsd-ports-gnome-287111d7667a0c544cab877af4efb53a861b27fc.tar.zst freebsd-ports-gnome-287111d7667a0c544cab877af4efb53a861b27fc.zip |
Add a new shared extension for PHP.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/php5-dba/Makefile | 14 | ||||
-rw-r--r-- | databases/php5-dba/files/patch-config.m4 | 26 |
3 files changed, 41 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index c46ca3c9d72c..ec51300971fb 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -218,6 +218,7 @@ SUBDIR += php4-sybase SUBDIR += php4-sybase_ct SUBDIR += php5-dba + SUBDIR += php5-dbase SUBDIR += phpmyadmin SUBDIR += phppgadmin SUBDIR += postgis diff --git a/databases/php5-dba/Makefile b/databases/php5-dba/Makefile new file mode 100644 index 000000000000..3c60ab0c5d71 --- /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 000000000000..d9de09e95578 --- /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) |