Commit 63b6120d authored by Muhammad Moinur Rahman's avatar Muhammad Moinur Rahman
Browse files

*/*php86*: Sunrise

parent fcf89426
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ LICENSE?= AGPLv3
RUN_DEPENDS=	nextcloud${PHP_PKGNAMESUFFIX}>=${NEXTCLOUD_RUN_DEPENDS}:www/nextcloud@${PHP_FLAVOR}

USES+=		php:flavors
IGNORE_WITH_PHP=	82
IGNORE_WITH_PHP=	82 86
NO_BUILD=	yes
NO_ARCH=	yes

+13 −8
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ DIST_SUBDIR= PECL

PHPBASE?=	${LOCALBASE}

_ALL_PHP_VERSIONS=	82 83 84 85
_ALL_PHP_VERSIONS=	82 83 84 85 86

# Make the already installed PHP the default one.
.  if exists(${PHPBASE}/etc/php.conf)
@@ -179,7 +179,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} == 85
.    if ${PHP_VER} == 86
PHP_EXT_DIR=   20250926
PHP_EXT_INC=    hash json opcache openssl pcre random spl
.    elif ${PHP_VER} == 85
PHP_EXT_DIR=   20250925
PHP_EXT_INC=    hash json opcache openssl pcre random spl
.    elif ${PHP_VER} == 84
@@ -372,21 +375,22 @@ add-plist-phpext:
# Extensions
.  if defined(USE_PHP) && ${USE_PHP:tl} != "yes"
# non-version specific components
_USE_PHP_ALL=	bcmath bitset bz2 calendar ctype curl dba dom \
_USE_PHP_ALL=	bcmath bz2 calendar ctype curl dba dom \
		enchant exif ffi fileinfo filter ftp gd gettext gmp \
		hash iconv igbinary imap intl json ldap mbstring mcrypt \
		memcache memcached mysqli odbc \
		openssl pcntl pcre pdo pdo_dblib pdo_firebird pdo_mysql \
		pdo_odbc pdo_pgsql pdo_sqlite phar pgsql posix \
		pspell radius random readline redis session shmop simplexml snmp \
		pspell radius random readline session shmop simplexml snmp \
		soap sockets sodium spl sqlite3 sysvmsg sysvsem sysvshm \
		tidy tokenizer xml xmlreader xmlrpc xmlwriter xsl zephir_parser \
		zip zlib
# version specific components
_USE_PHP_VER82=	${_USE_PHP_ALL} opcache
_USE_PHP_VER83=	${_USE_PHP_ALL} opcache
_USE_PHP_VER84=	${_USE_PHP_ALL} opcache
_USE_PHP_VER85=	${_USE_PHP_ALL}
_USE_PHP_VER82=	${_USE_PHP_ALL} bitset imagick opcache redis
_USE_PHP_VER83=	${_USE_PHP_ALL} bitset imagick opcache redis
_USE_PHP_VER84=	${_USE_PHP_ALL} bitset imagick opcache redis
_USE_PHP_VER85=	${_USE_PHP_ALL} bitset imagick redis
_USE_PHP_VER86=	${_USE_PHP_ALL}

bcmath_DEPENDS=	math/php${PHP_VER}-bcmath
bitset_DEPENDS=	math/pecl-bitset@${PHP_FLAVOR}
@@ -407,6 +411,7 @@ gettext_DEPENDS=devel/php${PHP_VER}-gettext
gmp_DEPENDS=	math/php${PHP_VER}-gmp
iconv_DEPENDS=	converters/php${PHP_VER}-iconv
igbinary_DEPENDS=	converters/pecl-igbinary@${PHP_FLAVOR}
imagick_DEPENDS=	graphics/pecl-imagick@${PHP_FLAVOR}
.    if ${PHP_VER} <= 83
imap_DEPENDS=	mail/php${PHP_VER}-imap
.    else
+1 −1
Original line number Diff line number Diff line
@@ -142,7 +142,7 @@ PERL5_DEFAULT:= ${_PERL5_FROM_BIN:R}
.  endif
# Possible values: 13, 14, 15, 16, 17, 18
PGSQL_DEFAULT?=		18
# Possible values: 8.2, 8.3, 8.4, 8.5
# Possible values: 8.2, 8.3, 8.4, 8.5, 8.6
PHP_DEFAULT?=		8.4
# Possible values: rust, legacy
.  if empty(ARCH:Naarch64:Namd64:Narmv7:Ni386:Npowerpc64:Npowerpc64le:Npowerpc:Nriscv64)
+4 −0
Original line number Diff line number Diff line
@@ -180,6 +180,10 @@
    SUBDIR += php85-phar
    SUBDIR += php85-zip
    SUBDIR += php85-zlib
    SUBDIR += php86-bz2
    SUBDIR += php86-phar
    SUBDIR += php86-zip
    SUBDIR += php86-zlib
    SUBDIR += pigz
    SUBDIR += pixz
    SUBDIR += plakar
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ LICENSE= PHP301
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		php:pecl
IGNORE_WITH_PHP=	86

CONFIGURE_ARGS=	--enable-lzf

Loading