diff options
Diffstat (limited to 'Mk/Uses/php.mk')
-rw-r--r-- | Mk/Uses/php.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Mk/Uses/php.mk b/Mk/Uses/php.mk index 5a3de6c0b62f..a17c82ac344d 100644 --- a/Mk/Uses/php.mk +++ b/Mk/Uses/php.mk @@ -110,7 +110,7 @@ DIST_SUBDIR= PECL PHPBASE?= ${LOCALBASE} -_ALL_PHP_VERSIONS= 74 80 81 +_ALL_PHP_VERSIONS= 74 80 81 82 # Make the already installed PHP the default one. . if exists(${PHPBASE}/etc/php.conf) @@ -183,7 +183,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} == 81 +. if ${PHP_VER} == 82 +PHP_EXT_DIR= 20210903 +PHP_EXT_INC= hash json openssl pcre spl +. elif ${PHP_VER} == 81 PHP_EXT_DIR= 20210902 PHP_EXT_INC= hash json openssl pcre spl . elif ${PHP_VER} == 80 @@ -391,6 +394,7 @@ _USE_PHP_ALL= bcmath bitset bz2 calendar ctype curl dba dom \ _USE_PHP_VER74= ${_USE_PHP_ALL} pdf _USE_PHP_VER80= ${_USE_PHP_ALL} _USE_PHP_VER81= ${_USE_PHP_ALL} +_USE_PHP_VER82= ${_USE_PHP_ALL} bcmath_DEPENDS= math/php${PHP_VER}-bcmath bitset_DEPENDS= math/pecl-bitset@${PHP_FLAVOR} |