I only have php configured with USE mysqli (and not mysql) Gallery works fine with only mysqli ... the ebuild should work with my configuration Suggested change --- gallery-2.3.ebuild~ 2009-09-27 11:41:22.000000000 +0200 +++ gallery-2.3.ebuild 2009-09-27 11:41:22.000000000 +0200 @@ -30,16 +30,17 @@ confutils_require_any mysql postgres local php_flags="pcre session" - use mysql && php_flags="${php_flags} mysql" use postgres && php_flags="${php_flags} postgres" if ! PHPCHECKNODIE="yes" require_php_with_use ${php_flags} || \ + ( use mysql && ! PHPCHECKNODIE="yes" require_php_with_any_use mysql mysqli ) || \ ( use gd && ! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external ) ; then eerror eerror "${PHP_PKG} needs to be re-installed with all of the following USE flags enabled:" eerror eerror "${php_flags}" eerror + use mysql && eerror "as well as with either mysql or mysqli USE flag enabled." use gd && eerror "as well as with either gd or gd-external USE flag enabled." die "Re-install ${PHP_PKG}." fi Reproducible: Always Steps to Reproduce: 1. USE="-mysql mysqli" emerge php 2. USE="mysql" emerge gallery Actual Results: Build error : php needs USE="mysql" Expected Results: No build error
Fixed in gallery-2.3.1 in CVS.