Skip to content

Commit

Permalink
www/php81-opcache: Fix zend extension
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
5u623l20 committed Jan 26, 2022
1 parent d709ba8 commit 786872e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion lang/php81/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
7 changes: 5 additions & 2 deletions www/php81-opcache/Makefile
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 786872e

Please sign in to comment.