For dev-lang/php-5.4.6_rc1 it was --with-flatfile, --with-inifile for dev-lang/php-5.4.6 it is --enable-flatfile, --enable-inifile (there may be more, I report only those I've seen in /var/log/portage, my useflags are: USE="apache2 bcmath berkdb bzip2 calendar cgi cjk cli crypt ctype curl curlwrappers doc exif fastbuild filter flatfile force-cgi-redirect ftp gd-external gdbm gmp hash iconv imap inifile ipv6 json kerberos ldap ldap-sasl mhash mysql mysqli ncurses nls odbc pcntl pcre pdo pic posix postgres readline reflection session sharedext simplexml snmp soap sockets spell spl sqlite ssl suhosin sysvipc threads tidy tokenizer truetype unicode xml xmlreader xmlrpc xmlwriter xsl zip-external zlib -adabas -birdstep -cdb -concurrentmodphp -db2 -dbase -dbmaker -debug -discard-path -empress -empress-bcs -esoob -fdftk -firebird -frontbase -gd -interbase -iodbc (-java-external) -libedit -mcve -msql -mssql -oci8 -oci8-instant-client -qdbm -recode -sapdb -sharedmem -solid -sybase -sybase-ct -wddx -xpm -yaz -zip") I marked it as eclass bug as these are set by php5_2-sapi.eclass.
Yep, already noticed it. I'll commit a fix later.
Hm, I think this got introduced earlier already (the actual commit [1]). Checking the release tarballs I'm pretty sure it was -- 5.2.4 was released in August 2007 and as such was the first version which contained the change (which was in July 2007). As we are not shipping any version before 5.2.5 I've simply fixed the eclass without a version check. [1] http://cvs.php.net/viewvc.cgi/php-src/ext/dba/config.m4?r1=1.70.2.2.2.5&r2=1.70.2.2.2.6&pathrev=PHP_5_2