summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2018-01-19 11:35:41 -0500
committerMichael Orlitzky <mjo@gentoo.org>2018-01-20 00:01:15 -0500
commitc6fd6c07c3c92aa7d27816749383c77ab025e07d (patch)
tree6a5a164734bdcd170e82d11422671a872b94e8c6 /dev-lang/php/metadata.xml
parentdev-db/mariadb: Version bump to 5.5.59 (diff)
downloadgentoo-c6fd6c07c3c92aa7d27816749383c77ab025e07d.tar.gz
gentoo-c6fd6c07c3c92aa7d27816749383c77ab025e07d.tar.bz2
gentoo-c6fd6c07c3c92aa7d27816749383c77ab025e07d.zip
dev-lang/php: new revisions to fix shared memory and threads support.
Our PHP ebuilds used the "sharedmem" flag to conflate two ./configure flags, namely --enable-shmop and --with-mm. The former is the "shared memory" extension, and the latter enables the dev-libs/mm backend for session storage. This commit separates the two: * The old USE=sharedmem enables the shared memory extension * The new USE=session-mm enables the dev-libs/mm session backend The nascent session-mm flag depends on USE=session being set. Additionally, we had a REQUIRED_USE constraint prohibiting USE=sharedmem from being set at the same time as USE=threads. This turns out to be due to an incompatibility between the --with-mm and --enable-maintainer-zts flags, the latter of which is toggled by USE=threads. So in the new revisions, we have a REQUIRED_USE constraint that blocks USE=threads when USE=session-mm is set. Thanks are due to Xiami who reported and fixed all of these issues in bug 644922. Reported-by: Xiami <i@f2light.com> Closes: https://bugs.gentoo.org/644922 Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-lang/php/metadata.xml')
-rw-r--r--dev-lang/php/metadata.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-lang/php/metadata.xml b/dev-lang/php/metadata.xml
index efe0a57aaa9d..cca331a3fa1f 100644
--- a/dev-lang/php/metadata.xml
+++ b/dev-lang/php/metadata.xml
@@ -38,7 +38,12 @@
<flag name="phpdbg">
Enable the PHP Debug Command Line SAPI (like gdb for php)
</flag>
- <flag name="sodium">Enable support for crypto through libsodium</flag>
+ <flag name="session-mm">
+ Include <pkg>dev-libs/mm</pkg> support for session storage
+ </flag>
+ <flag name="sodium">
+ Enable support for crypto through <pkg>dev-libs/libsodium</pkg>
+ </flag>
<flag name="tokyocabinet">
Enable support for <pkg>dev-db/tokyocabinet</pkg> db backend</flag>
<flag name="xmlreader">Enable XMLReader support</flag>