diff options
Diffstat (limited to 'Mk/Uses/php.mk')
-rw-r--r-- | Mk/Uses/php.mk | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/Mk/Uses/php.mk b/Mk/Uses/php.mk index 65c87da82aba..2f3b714a0088 100644 --- a/Mk/Uses/php.mk +++ b/Mk/Uses/php.mk @@ -110,7 +110,7 @@ DIST_SUBDIR= PECL PHPBASE?= ${LOCALBASE} -_ALL_PHP_VERSIONS= 71 72 73 +_ALL_PHP_VERSIONS= 71 72 73 74 # Make the already installed PHP the default one. . if exists(${PHPBASE}/etc/php.conf) @@ -174,7 +174,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} == 73 +. if ${PHP_VER} == 74 +PHP_EXT_DIR= 20190902 +PHP_EXT_INC= hash pcre spl +. elif ${PHP_VER} == 73 PHP_EXT_DIR= 20180731 PHP_EXT_INC= pcre spl . elif ${PHP_VER} == 72 @@ -367,17 +370,18 @@ add-plist-phpext: # non-version specific components _USE_PHP_ALL= bcmath bitset bz2 calendar ctype curl dba dom \ enchant exif fileinfo filter ftp gd gettext gmp \ - hash iconv igbinary imap interbase intl json ldap mbstring mcrypt \ + hash iconv igbinary imap intl json ldap mbstring mcrypt \ memcache memcached mysqli odbc opcache \ openssl pcntl pcre pdf pdo pdo_dblib pdo_firebird pdo_mysql \ pdo_odbc pdo_pgsql pdo_sqlite phar pgsql posix \ - pspell radius readline recode redis session shmop simplexml snmp soap\ + pspell radius readline redis session shmop simplexml snmp soap\ sockets spl sqlite3 sysvmsg sysvsem sysvshm \ - tidy tokenizer wddx xml xmlreader xmlrpc xmlwriter xsl zip zlib + tidy tokenizer xml xmlreader xmlrpc xmlwriter xsl zip zlib # version specific components -_USE_PHP_VER71= ${_USE_PHP_ALL} -_USE_PHP_VER72= ${_USE_PHP_ALL} sodium -_USE_PHP_VER73= ${_USE_PHP_ALL} sodium +_USE_PHP_VER71= ${_USE_PHP_ALL} interbase recode wddx +_USE_PHP_VER72= ${_USE_PHP_ALL} interbase recode sodium wddx +_USE_PHP_VER73= ${_USE_PHP_ALL} interbase recode sodium wddx +_USE_PHP_VER74= ${_USE_PHP_ALL} ffi sodium bcmath_DEPENDS= math/php${PHP_VER}-bcmath bitset_DEPENDS= math/pecl-bitset@${PHP_FLAVOR} @@ -390,6 +394,7 @@ dbase_DEPENDS= databases/php${PHP_VER}-dbase dom_DEPENDS= textproc/php${PHP_VER}-dom enchant_DEPENDS= textproc/php${PHP_VER}-enchant exif_DEPENDS= graphics/php${PHP_VER}-exif +ffi_DEPENDS= devel/php${PHP_VER}-ffi fileinfo_DEPENDS= sysutils/php${PHP_VER}-fileinfo filter_DEPENDS= security/php${PHP_VER}-filter ftp_DEPENDS= ftp/php${PHP_VER}-ftp |