In the fix to bug 80574, conversion to 'sharedext' was incomplete; several changes within php5-sapi.eclass were required, as per the attached patch. php5-sapi_src_install() continued to use 'shared' as its test for whether to install modules, and that broke ebuilds with USE="shared -sharedext" because it tried to install modules ('shared') that weren't built ('-sharedext'). Assumably the converse would also be true, that for a USE="-shared sharedext" ebuild it would build the modules but not install them. This brings up another point-- specifically, that if the 'sharedext' use flag is given but no specific modules are selected, the ebuild will fail. This case may be trivial enough to ignore, though. The patch also updates IUSE to remove the 'shared' flag and updates the calls to enable_extension_{disable,without}, since those functions now actually use the third argument. Reproducible: Always Steps to Reproduce:
Created attachment 51934 [details, diff] Fix to eclass/php5-sapi.eclas (as mentioned in bug description)
Fixed in php5-sapi-r1.eclass.