1 |
commit: afaef996e561f8069b8d177ea76fcde1d0bc20a6 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 17 18:48:55 2017 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 18 01:11:46 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afaef996 |
7 |
|
8 |
profiles: add "php7-0" to PHP_TARGETS in base/make.defaults. |
9 |
|
10 |
The old value of the PHP_TARGETS variable was "php5-6", but these days |
11 |
PHP_TARGETS="php5-6 php7-0" is more appropriate. The rationale for |
12 |
this change is now included as a comment above the variable. |
13 |
|
14 |
Closes: https://bugs.gentoo.org/636692 |
15 |
|
16 |
profiles/base/make.defaults | 19 +++++++++++++++---- |
17 |
1 file changed, 15 insertions(+), 4 deletions(-) |
18 |
|
19 |
diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults |
20 |
index ee84bc0b7f0..e7a3077c777 100644 |
21 |
--- a/profiles/base/make.defaults |
22 |
+++ b/profiles/base/make.defaults |
23 |
@@ -49,10 +49,6 @@ LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" |
24 |
# By default build all koffice / calligra features. |
25 |
CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" |
26 |
|
27 |
-# Ole Markus With <olemarkus@g.o> (09 Oct 2010) |
28 |
-# Default PHP targets (should always be latest stable version) |
29 |
-PHP_TARGETS="php5-6" |
30 |
- |
31 |
# Andreas K. Huettel <dilfridge@g.o> (28 Sep 2010) |
32 |
# Small default list of enabled plugins for collectd |
33 |
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" |
34 |
@@ -145,3 +141,18 @@ TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1" |
35 |
# Aaron W. Swenson <titanofold@g.o> (9 Jul 2017) |
36 |
# Default target(s) for postgres{,-multi}.eclass |
37 |
POSTGRES_TARGETS="postgres9_5" |
38 |
+ |
39 |
+# Michael Orlitzky <mjo@g.o> (17 Nov 2017) |
40 |
+# |
41 |
+# Default PHP targets, used only for extensions at the moment. |
42 |
+# |
43 |
+# The value of this variable should be chosen to be "least annoying by |
44 |
+# default." For example, some packages support only php-5.x and some |
45 |
+# only php-7.x. By having both "php5-6" and php7-0" in PHP_TARGETS, we |
46 |
+# ensure that users who don't care one way or the other don't have to |
47 |
+# mess with this variable in order to install those packages. |
48 |
+# |
49 |
+# Moreover, it should only contain targets that have a stable version |
50 |
+# of PHP, to avoid pulling in an unstable PHP on stable systems. |
51 |
+# |
52 |
+PHP_TARGETS="php5-6 php7-0" |