summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2015-11-02 20:55:59 -0500
committerMichael Orlitzky <mjo@gentoo.org>2015-11-02 22:47:17 -0500
commitf6f502db9547ffff1f4476399ddbfbfbc3a325e2 (patch)
treed4b06f08ea58985b222b6acbc6a1594cff63e41a /dev-lang/php
parentx11-misc/zim: Old. (diff)
downloadgentoo-f6f502db9547ffff1f4476399ddbfbfbc3a325e2.tar.gz
gentoo-f6f502db9547ffff1f4476399ddbfbfbc3a325e2.tar.bz2
gentoo-f6f502db9547ffff1f4476399ddbfbfbc3a325e2.zip
dev-lang/php: remove two obsolete addpredict() calls.
We had two calls to addpredict() at the top of src_prepare(). Supposedly they were needed with USE="session sharedmem"; however, testing shows that they are no longer necessary. The build succeeds fine without the addpredict() calls, so we remove them. Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-lang/php')
-rw-r--r--dev-lang/php/php-5.6.15-r1.ebuild8
-rw-r--r--dev-lang/php/php-7.0.0_rc6.ebuild8
2 files changed, 0 insertions, 16 deletions
diff --git a/dev-lang/php/php-5.6.15-r1.ebuild b/dev-lang/php/php-5.6.15-r1.ebuild
index c64fd9db1952..726c56adaee8 100644
--- a/dev-lang/php/php-5.6.15-r1.ebuild
+++ b/dev-lang/php/php-5.6.15-r1.ebuild
@@ -291,14 +291,6 @@ php_set_ini_dir() {
}
src_prepare() {
- # USE=sharedmem (session/mod_mm to be exact) tries to mmap() this path
- # ([empty session.save_path]/session_mm_[sapi][gid].sem)
- # there is no easy way to circumvent that, all php calls during
- # install use -n, so no php.ini file will be used.
- # As such, this is the easiest way to get around
- addpredict /session_mm_cli250.sem
- addpredict /session_mm_cli0.sem
-
# Change PHP branding
# Get the alpha/beta/rc version
sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1-pl${PR/r/}-gentoo\2|g" \
diff --git a/dev-lang/php/php-7.0.0_rc6.ebuild b/dev-lang/php/php-7.0.0_rc6.ebuild
index 17e52e471d0f..933cebed567d 100644
--- a/dev-lang/php/php-7.0.0_rc6.ebuild
+++ b/dev-lang/php/php-7.0.0_rc6.ebuild
@@ -281,14 +281,6 @@ php_set_ini_dir() {
}
src_prepare() {
- # USE=sharedmem (session/mod_mm to be exact) tries to mmap() this path
- # ([empty session.save_path]/session_mm_[sapi][gid].sem)
- # there is no easy way to circumvent that, all php calls during
- # install use -n, so no php.ini file will be used.
- # As such, this is the easiest way to get around
- addpredict /session_mm_cli250.sem
- addpredict /session_mm_cli0.sem
-
# Change PHP branding
# Get the alpha/beta/rc version
sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1-pl${PR/r/}-gentoo\2|g" \