pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang php80 & php81: correct zts option invocation



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ff7951e97b88
branches:  trunk
changeset: 372983:ff7951e97b88
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Fri Feb 04 01:41:01 2022 +0000

description:
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.

diffstat:

 lang/php80/options.mk |  4 ++--
 lang/php81/options.mk |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 5ff10f1d9c57 -r ff7951e97b88 lang/php80/options.mk
--- a/lang/php80/options.mk     Fri Feb 04 00:04:17 2022 +0000
+++ b/lang/php80/options.mk     Fri Feb 04 01:41:01 2022 +0000
@@ -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 @@
 .endif
 
 .if !empty(PKG_OPTIONS:Mmaintainer-zts)
-CONFIGURE_ARGS+=       --enable-maintainer-zts
+CONFIGURE_ARGS+=       --enable-zts
 .endif
 
 .if !empty(PKG_OPTIONS:Mreadline)
diff -r 5ff10f1d9c57 -r ff7951e97b88 lang/php81/options.mk
--- a/lang/php81/options.mk     Fri Feb 04 00:04:17 2022 +0000
+++ b/lang/php81/options.mk     Fri Feb 04 01:41:01 2022 +0000
@@ -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 @@
 .endif
 
 .if !empty(PKG_OPTIONS:Mmaintainer-zts)
-CONFIGURE_ARGS+=       --enable-maintainer-zts
+CONFIGURE_ARGS+=       --enable-zts
 .endif
 
 .if !empty(PKG_OPTIONS:Mreadline)



Home | Main Index | Thread Index | Old Index