git: 786872ee08c0 - main - www/php81-opcache: Fix zend extension
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Jan 2022 17:11:42 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=786872ee08c04b245a37d9dba50a4e484d462c36
commit 786872ee08c04b245a37d9dba50a4e484d462c36
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-01-26 17:09:59 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-01-26 17:11:34 +0000
www/php81-opcache: Fix zend extension
- Somehow the php:zend in lang/php81 Makefile is not properly read and
using the default php:ext. For now fix it by adding it to the slave
ports.
PR: 261488
Reported by: mfburdett@gmail.com
---
lang/php81/Makefile | 1 -
www/php81-opcache/Makefile | 7 +++++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/lang/php81/Makefile b/lang/php81/Makefile
index 57d88cc1f4e9..8220c29387f4 100644
--- a/lang/php81/Makefile
+++ b/lang/php81/Makefile
@@ -412,7 +412,6 @@ CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
# This is needed by Zend extensions, keep before everything.
PHP_MOD_PRIO= 10
CONFIGURE_ARGS+= --enable-opcache
-USES+= localbase php:zend
.endif
.if ${PHP_MODNAME} == "pcntl"
diff --git a/www/php81-opcache/Makefile b/www/php81-opcache/Makefile
index 3799a62af053..5971b05f3eae 100644
--- a/www/php81-opcache/Makefile
+++ b/www/php81-opcache/Makefile
@@ -1,7 +1,10 @@
+PORTREVISION= 1
CATEGORIES= www
-MASTERDIR= ${.CURDIR}/../../lang/php81
-
PKGNAMESUFFIX= -opcache
+USES= php:zend,noflavors
+
+MASTERDIR= ${.CURDIR}/../../lang/php81
+
.include "${MASTERDIR}/Makefile"