php80 & php81: correct zts option invocation
Starting with PHP 8.0, zts is enabled with --enable-zts, rather than the older --enable-maintainer-zts. Addresses PR pkg/56681. The actual pkgsrc option name should probably be adjusted, and the current "maintainer-zts" moved to PKG_LEGACY_OPTIONS. I've left it for another commit.
This commit is contained in:
parent
7f3cede492
commit
69f103e729
2 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: options.mk,v 1.3 2021/12/19 05:03:19 taca Exp $
|
||||
# $NetBSD: options.mk,v 1.4 2022/02/04 01:41:01 gutteridge Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.${PHP_PKG_PREFIX}
|
||||
PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts readline argon2 php-embed
|
||||
|
@ -30,7 +30,7 @@ CONFIGURE_ARGS+= --without-openssl
|
|||
.endif
|
||||
|
||||
.if !empty(PKG_OPTIONS:Mmaintainer-zts)
|
||||
CONFIGURE_ARGS+= --enable-maintainer-zts
|
||||
CONFIGURE_ARGS+= --enable-zts
|
||||
.endif
|
||||
|
||||
.if !empty(PKG_OPTIONS:Mreadline)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: options.mk,v 1.1 2021/11/27 07:24:43 taca Exp $
|
||||
# $NetBSD: options.mk,v 1.2 2022/02/04 01:41:01 gutteridge Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.${PHP_PKG_PREFIX}
|
||||
PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts readline argon2 php-embed
|
||||
|
@ -30,7 +30,7 @@ CONFIGURE_ARGS+= --without-openssl
|
|||
.endif
|
||||
|
||||
.if !empty(PKG_OPTIONS:Mmaintainer-zts)
|
||||
CONFIGURE_ARGS+= --enable-maintainer-zts
|
||||
CONFIGURE_ARGS+= --enable-zts
|
||||
.endif
|
||||
|
||||
.if !empty(PKG_OPTIONS:Mreadline)
|
||||
|
|
Loading…
Reference in a new issue