All current dev-lang/php ebuilds still point to the now deprecated make.conf path /etc/make.conf in their elog output. They all should be updated to refer to /etc/portage/make.conf instead. See also bug#452176.
Fixed in cvs.
dev-lang/php-5.5.3-r1 still refers to /etc/make.conf. It seems this bug is not really fixed yet.
Please also see bug 472012.
This bug is still present in all current versions of php in portage even though the Changelog explicitly lists this bug and the fix: barnoid@xps13 /usr/portage/dev-lang/php $ grep make.conf *.ebuild php-5.4.39.ebuild: elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order" php-5.4.39.ebuild: elog "'production' or 'development' in ${EPREFIX}/etc/make.conf" php-5.4.40.ebuild: elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order" php-5.4.40.ebuild: elog "'production' or 'development' in ${EPREFIX}/etc/make.conf" php-5.4.41.ebuild: elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order" php-5.4.41.ebuild: elog "'production' or 'development' in ${EPREFIX}/etc/make.conf" php-5.4.42.ebuild: elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order" php-5.4.42.ebuild: elog "'production' or 'development' in ${EPREFIX}/etc/make.conf" php-5.5.22.ebuild: elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order" php-5.5.22.ebuild: elog "'production' or 'development' in ${EPREFIX}/etc/make.conf" php-5.5.23.ebuild: elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order" php-5.5.23.ebuild: elog "'production' or 'development' in ${EPREFIX}/etc/make.conf" php-5.5.24.ebuild: elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order" php-5.5.24.ebuild: elog "'production' or 'development' in ${EPREFIX}/etc/make.conf" php-5.5.25.ebuild: elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order" php-5.5.25.ebuild: elog "'production' or 'development' in ${EPREFIX}/etc/make.conf" php-5.5.25-r1.ebuild: elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order" php-5.5.25-r1.ebuild: elog "'production' or 'development' in ${EPREFIX}/etc/make.conf" php-5.5.26.ebuild: elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order" php-5.5.26.ebuild: elog "'production' or 'development' in ${EPREFIX}/etc/make.conf" php-5.6.10.ebuild: elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order" php-5.6.10.ebuild: elog "'production' or 'development' in ${EPREFIX}/etc/make.conf" php-5.6.7.ebuild: elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order" php-5.6.7.ebuild: elog "'production' or 'development' in ${EPREFIX}/etc/make.conf" php-5.6.8.ebuild: elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order" php-5.6.8.ebuild: elog "'production' or 'development' in ${EPREFIX}/etc/make.conf" php-5.6.9.ebuild: elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order" php-5.6.9.ebuild: elog "'production' or 'development' in ${EPREFIX}/etc/make.conf" php-7.0.0_alpha1.ebuild: elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order" php-7.0.0_alpha1.ebuild: elog "'production' or 'development' in ${EPREFIX}/etc/make.conf" Changelog: ... 10 Oct 2014; Brian Evans <grknight@gentoo.org> php-5.3.29.ebuild, php-5.4.32.ebuild, php-5.4.33.ebuild, php-5.5.16.ebuild, php-5.5.17.ebuild, php-5.6.0.ebuild, php-5.6.1.ebuild: Update elog messages to /etc/portage/make.conf ... 28 Apr 2013; Zac Medico <zmedico@gentoo.org> php-5.3.23.ebuild, php-5.3.24.ebuild, php-5.4.13.ebuild, php-5.4.14.ebuild, php-5.5.0_beta4.ebuild: Bug #467648 - Refer to /etc/portage/make.conf, not /etc/make.conf.
Created attachment 437532 [details, diff] Patch to php-5.6.22.ebuild to reference correct path
Created attachment 437534 [details, diff] Patch to php-7.0.7-r1.ebuild to reference correct path
Please re-open. This is still unresolved in: dev-lang/php-5.6.22 dev-lang/php-7.0.7-r1 I've attached patches to actually resolve this bug.
We're doing a few version bumps for security fixes and I'm going to fix this by... being more vague. Pointing to /etc/make.conf is definitely wrong, but pointing to /etc/portage/make.conf isn't optimal either. Even with portage, it will often be preferable to set them in package.use (see bug #471776). But we support other package managers that won't have either make.conf or package.use. For the most generality, I'm not going to say anything helpful at all =) To build extensions for this version of PHP, you will need to add php7-0 to your PHP_TARGETS USE_EXPAND variable.