commit: afaef996e561f8069b8d177ea76fcde1d0bc20a6 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> AuthorDate: Fri Nov 17 18:48:55 2017 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Sat Nov 18 01:11:46 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afaef996
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 ee84bc0b7f0..e7a3077c777 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 <[email protected]> (09 Oct 2010) -# Default PHP targets (should always be latest stable version) -PHP_TARGETS="php5-6" - # Andreas K. Huettel <[email protected]> (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 <[email protected]> (9 Jul 2017) # Default target(s) for postgres{,-multi}.eclass POSTGRES_TARGETS="postgres9_5" + +# Michael Orlitzky <[email protected]> (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"
