--- src_install-v2.eblit 2010-06-07 12:43:33.000000000 +0700 +++ src_install-v2.eblit~ 2010-06-07 17:35:58.000000000 +0700 @@ -94,7 +94,7 @@ fi # SAPI-specific handling - if [[ "${sapi}" == "apache2" ]] ; then + if [[ "${phpsapi}" == "apache2" ]] ; then if use concurrentmodphp ; then einfo "Installing Apache2 config file 70_mod_php${PHP_MV}_concurr.conf" insinto "${APACHE_MODULES_CONFDIR}" @@ -113,7 +113,7 @@ fi fi - if [[ "${sapi}" == "fpm" ]] ; then + if [[ "${phpsapi}" == "fpm" ]] ; then einfo "Installing FPM CGI config file php-fpm.conf" epatch "${FILESDIR}/php-fpm-gentooified.patch" insinto ${PHP_INI_DIR}