FreeBSD Bugzilla – Attachment 230515 Details for
Bug 260774
Add php81 to the tree
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add php81
php81-post.patch (text/plain), 2.08 KB, created by
Muhammad Moinur Rahman
on 2021-12-29 02:04:41 UTC
(
hide
)
Description:
Add php81
Filename:
MIME Type:
Creator:
Muhammad Moinur Rahman
Created:
2021-12-29 02:04:41 UTC
Size:
2.08 KB
patch
obsolete
>diff --git a/Mk/Uses/php.mk b/Mk/Uses/php.mk >index 7a0bf584e..ab8d54ec0 100644 >--- a/Mk/Uses/php.mk >+++ b/Mk/Uses/php.mk >@@ -108,7 +108,7 @@ DIST_SUBDIR= PECL > > PHPBASE?= ${LOCALBASE} > >-_ALL_PHP_VERSIONS= 73 74 80 >+_ALL_PHP_VERSIONS= 73 74 80 81 > > # Make the already installed PHP the default one. > . if exists(${PHPBASE}/etc/php.conf) >@@ -176,7 +176,10 @@ PHP_VER= ${FLAVOR:S/^php//} > (${FLAVOR:Mphp[0-9][0-9]} && ${FLAVOR} != ${FLAVORS:[1]}) > # When adding a version, please keep the comment in > # Mk/bsd.default-versions.mk in sync. >-. if ${PHP_VER} == 80 >+. if ${PHP_VER} == 81 >+PHP_EXT_DIR= 20210902 >+PHP_EXT_INC= hash json pcre spl >+. elif ${PHP_VER} == 80 > PHP_EXT_DIR= 20200930 > PHP_EXT_INC= hash json pcre spl > . elif ${PHP_VER} == 74 >@@ -374,12 +377,13 @@ _USE_PHP_ALL= bcmath bitset bz2 calendar ctype curl dba dom \ > openssl pcntl pcre pdo pdo_dblib pdo_firebird pdo_mysql \ > pdo_odbc pdo_pgsql pdo_sqlite phar pgsql posix \ > pspell radius readline redis session shmop simplexml snmp soap\ >- sockets spl sqlite3 sysvmsg sysvsem sysvshm \ >+ sockets sodium spl sqlite3 sysvmsg sysvsem sysvshm \ > tidy tokenizer xml xmlreader xmlrpc xmlwriter xsl zip zlib > # version specific components >-_USE_PHP_VER73= ${_USE_PHP_ALL} interbase pdf recode sodium wddx >-_USE_PHP_VER74= ${_USE_PHP_ALL} ffi pdf sodium >-_USE_PHP_VER80= ${_USE_PHP_ALL} ffi sodium >+_USE_PHP_VER73= ${_USE_PHP_ALL} interbase pdf recode wddx >+_USE_PHP_VER74= ${_USE_PHP_ALL} ffi pdf >+_USE_PHP_VER80= ${_USE_PHP_ALL} ffi >+_USE_PHP_VER81= ${_USE_PHP_ALL} ffi > > bcmath_DEPENDS= math/php${PHP_VER}-bcmath > bitset_DEPENDS= math/pecl-bitset@${PHP_FLAVOR} >diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk >index 53519b606..9dd1db9c2 100644 >--- a/Mk/bsd.default-versions.mk >+++ b/Mk/bsd.default-versions.mk >@@ -107,7 +107,7 @@ PERL5_DEFAULT:= ${_PERL5_FROM_BIN:R} > .endif > # Possible values: 9.6, 10, 11, 12, 13, 14 > PGSQL_DEFAULT?= 13 >-# Possible values: 7.3, 7.4, 8.0 >+# Possible values: 7.3, 7.4, 8.0, 8.1 > PHP_DEFAULT?= 7.4 > # Possible values: 2.7, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11 > PYTHON_DEFAULT?= 3.8
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 260774
: 230515