Recent versions of pecl-memcached support the "--enable-memcached-json" flag to configure. Please add support for passing this flag based upon a new "json" USE flag.
Probably also makes sense to also have
Created attachment 334836 [details]
bumped eapi, fixed deps, added json useflag.
Created attachment 334838 [details]
added json use description
json and sasl flag added, as well as php 5.5 support.