git: 89dade03ac7b - main - Mk/Uses: Refactor php.mk
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 03 Mar 2026 14:44:54 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=89dade03ac7bf4b1aa88ba8ec8c7e3cf202fd2a9
commit 89dade03ac7bf4b1aa88ba8ec8c7e3cf202fd2a9
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2026-03-03 14:42:31 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2026-03-03 14:44:02 +0000
Mk/Uses: Refactor php.mk
opcache module is valid only for versions upto 8.4. From php 8.5
onwards opcache is in the base php and a mandatory module.
---
Mk/Uses/php.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Mk/Uses/php.mk b/Mk/Uses/php.mk
index d853fb43f3f3..9c6ffe6ea701 100644
--- a/Mk/Uses/php.mk
+++ b/Mk/Uses/php.mk
@@ -420,7 +420,9 @@ memcache_DEPENDS= databases/pecl-memcache@${PHP_FLAVOR}
memcached_DEPENDS= databases/pecl-memcached@${PHP_FLAVOR}
mysqli_DEPENDS= databases/php${PHP_VER}-mysqli
odbc_DEPENDS= databases/php${PHP_VER}-odbc
+. if ${PHP_VER} <= 84
opcache_DEPENDS= www/php${PHP_VER}-opcache
+. endif
pcntl_DEPENDS= devel/php${PHP_VER}-pcntl
pdo_DEPENDS= databases/php${PHP_VER}-pdo
pdo_dblib_DEPENDS= databases/php${PHP_VER}-pdo_dblib