summaryrefslogtreecommitdiff
path: root/profiles/server
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2015-06-01 23:00:51 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2015-06-01 23:00:51 +0100
commitae26b10b0bcf7b02340cc49eef72b416c619f94a (patch)
tree097430e0ffa27434dd116e727cc7b67f59fb2fef /profiles/server
parentdev-util/jenkins-bin: Version bump (diff)
downloadportage-ae26b10b0bcf7b02340cc49eef72b416c619f94a.tar.xz
profiles/server: Tune default PHP_TARGETS
Diffstat (limited to 'profiles/server')
-rw-r--r--profiles/server/make.defaults14
1 files changed, 13 insertions, 1 deletions
diff --git a/profiles/server/make.defaults b/profiles/server/make.defaults
index e667996b..606f9c0d 100644
--- a/profiles/server/make.defaults
+++ b/profiles/server/make.defaults
@@ -578,4 +578,16 @@ USE="${USE}
nginx_modules_http_stub_status"
PHP_INI_VERSION="production"
-PHP_TARGETS="php5-4"
+
+# 01/01/2015 - beber
+# Setting PHP_TARGETS is non functional, need to expand manually
+# First disable all of them, set enable needed one
+# W=php_targets ; sed -rne "s/^([a-zA-Z]([^ ]+)) .*/\t-${W}_\1/p" /usr/portage/profiles/desc/$W.desc | sort
+USE="${USE}
+ -php_targets_php5-2
+ -php_targets_php5-3
+ -php_targets_php5-4
+ -php_targets_php5-5
+ -php_targets_php5-6"
+USE="${USE}
+ php_targets_php5-4"