diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-10 13:59:03 +0200 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-10 16:57:35 +0200 |
commit | 95967c2077762985235e47db1fe9949bed5cbe8f (patch) | |
tree | d18f44b10a5c6ae9c4444c192cac7277a2003e6a /databases/php83-dba | |
parent | devel/py-python-gitlab: Update to 3.15.0 (diff) |
*/*php83*: Sunrise
Please DO NOT use this version in production, it is an early test
version.
For upgrade notes please visit:
https://github.com/php/php-src/blob/php-8.3.0alpha1/UPGRADING
Changelog: https://github.com/php/php-src/blob/php-8.3.0alpha1/NEWS
Sponsored by: Bounce Experts
Diffstat (limited to 'databases/php83-dba')
-rw-r--r-- | databases/php83-dba/Makefile | 7 | ||||
-rw-r--r-- | databases/php83-dba/files/patch-config.m4 | 50 |
2 files changed, 57 insertions, 0 deletions
diff --git a/databases/php83-dba/Makefile b/databases/php83-dba/Makefile new file mode 100644 index 000000000000..42731fa31770 --- /dev/null +++ b/databases/php83-dba/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php83 + +PKGNAMESUFFIX= -dba + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php83-dba/files/patch-config.m4 b/databases/php83-dba/files/patch-config.m4 new file mode 100644 index 000000000000..f93406046ff3 --- /dev/null +++ b/databases/php83-dba/files/patch-config.m4 @@ -0,0 +1,50 @@ +--- config.m4.orig 2023-06-06 15:54:29 UTC ++++ config.m4 +@@ -387,6 +387,38 @@ if test "$PHP_DB4" != "no"; then + THIS_PREFIX=$i + THIS_INCLUDE=$i/include/db5.3/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/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/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 +@@ -429,7 +461,7 @@ if test "$PHP_DB4" != "no"; then + break + fi + done +- PHP_DBA_DB_CHECK(4, db-5.3 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 db-5.3 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) + |