dev-lang/php: remove two obsolete addpredict() calls.
authorMichael Orlitzky <mjo@gentoo.org>
Tue, 3 Nov 2015 01:55:59 +0000 (20:55 -0500)
committerMichael Orlitzky <mjo@gentoo.org>
Tue, 3 Nov 2015 03:47:17 +0000 (22:47 -0500)
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

dev-lang/php/php-5.6.15-r1.ebuild
dev-lang/php/php-7.0.0_rc6.ebuild

index c64fd9db19528e82e2ae1fb5272b0e9d926d7422..726c56adaee8b91443021453e777f51831be50f6 100644 (file)
@@ -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" \
index 17e52e471d0fc633773d35e8e158f6bda66c1182..933cebed567df4b7637f30c29520d8a4ebaf045f 100644 (file)
@@ -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" \