From afaef996e561f8069b8d177ea76fcde1d0bc20a6 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 17 Nov 2017 13:48:55 -0500 Subject: [PATCH] profiles: add "php7-0" to PHP_TARGETS in base/make.defaults. The old value of the PHP_TARGETS variable was "php5-6", but these days PHP_TARGETS="php5-6 php7-0" is more appropriate. The rationale for this change is now included as a comment above the variable. Closes: https://bugs.gentoo.org/636692 --- profiles/base/make.defaults | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults index ee84bc0b7f0f..e7a3077c777c 100644 --- a/profiles/base/make.defaults +++ b/profiles/base/make.defaults @@ -49,10 +49,6 @@ LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" # By default build all koffice / calligra features. CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" -# Ole Markus With (09 Oct 2010) -# Default PHP targets (should always be latest stable version) -PHP_TARGETS="php5-6" - # Andreas K. Huettel (28 Sep 2010) # Small default list of enabled plugins for collectd COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" @@ -145,3 +141,18 @@ TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1" # Aaron W. Swenson (9 Jul 2017) # Default target(s) for postgres{,-multi}.eclass POSTGRES_TARGETS="postgres9_5" + +# Michael Orlitzky (17 Nov 2017) +# +# Default PHP targets, used only for extensions at the moment. +# +# The value of this variable should be chosen to be "least annoying by +# default." For example, some packages support only php-5.x and some +# only php-7.x. By having both "php5-6" and php7-0" in PHP_TARGETS, we +# ensure that users who don't care one way or the other don't have to +# mess with this variable in order to install those packages. +# +# Moreover, it should only contain targets that have a stable version +# of PHP, to avoid pulling in an unstable PHP on stable systems. +# +PHP_TARGETS="php5-6 php7-0" -- 2.26.2