Since php 4.2.0 PHP has been built with --with-ctype by default, Gentoo explicitly disables this with --disable-ctype unless the ctype usflag (which only applies to PHP) is set, the default should be to build the ctype extension unless -ctype is in USE.
(In reply to comment #0) > the default should be to build the ctype extension unless -ctype is in USE. Not possible with current portage versions, there are no per-package default use flags (see Bug 61732 for more information).
REOPENING, this bug does not depend on bug 61732, per package use flags are irrelivant in this case since the use flag in question was created for the package in question and is only used by it. This is a request to turn the ctype use flag on by default because without it dev-lang/php is not built with functions that every php build has had by default since 4.3.0, which means by default Gentoo build is not compatable with a large amount of PHP code in the wild.
(In reply to comment #2) > dev-lang/php is not built with functions that every php build has had by > default since 4.3.0. Since 4.2.0 I mean.
(In reply to comment #2) > This is a request to turn the ctype use flag on by default because without it > dev-lang/php is not built with functions that every php build has had by > default since 4.3.0, which means by default Gentoo build is not compatable with > a large amount of PHP code in the wild. Like with many other php use flags, which you need to enable as well. Won't happen until bug 61732 is fixed, there are lots of people complaining about cruft in make.defaults already.
A good fix would be to use a "noctype" flag instead.
(In reply to comment #5) > A good fix would be to use a "noctype" flag instead. http://dev.gentoo.org/~plasmaroo/devmanual//general-concepts/use-flags/
bug 61732 is fixed, this should be reopened