Created attachment 303425 [details] emerge --info Configure stage can be fixed with the following amendment: --- Gentoo/usr/portage/dev-lang/php/files/eblits/src_configure-v54.eblit.orig 2012-02-26 01:15:43.000000000 +0100 +++ Gentoo/usr/portage/dev-lang/php/files/eblits/src_configure-v54.eblit 2012-02-26 23:46:10.000000000 +0100 @@ -33,11 +33,11 @@ $(use_enable fileinfo fileinfo ) $(use_enable filter filter ) $(use_enable ftp ftp ) - $(use_with nls gettext ) + $(use_with nls gettext "${EPREFIX}/usr") $(use_with gmp gmp ) $(use_enable hash hash ) $(use_with mhash mhash ) - $(use_with iconv iconv ) + $(use_with iconv iconv "${EPREFIX}/usr") $(use_enable intl intl ) $(use_enable ipv6 ipv6 ) $(use_enable json json ) @@ -192,7 +192,7 @@ # readline/libedit support my_conf+=" - $(use_with readline readline ) + $(use_with readline readline "${EPREFIX}/usr") $(use_with libedit libedit )" # Session support However, once ebuild installs the package, it will lament a "double prefix" situation. >>> Completed installing php-5.4.0_rc7 into /Users/askarbektassov/Library/Gentoo/var/tmp/portage/dev-lang/php-5.4.0_rc7/image/ [...] * QA Notice: Users/askarbektassov/Library/Gentoo///Users/askarbektassov/Library/Gentoo/usr/lib/php5.4/bin/php double prefix which for now I fixed moving by hand php executable into the relevant image directory. I guess there is something to fix in the src_install_v3.eblit, but I don't know where.
Hi Askar. Thank you very much for reporting the bug. Please test =dev-lang/php-5.4.2 in tree now, which is synchronized with gx86 tree, have your patch applied and is without double prefix bug. @grobian, I have dropped the workaround in bug 343481 (CC -> CXX), could you have a test in macos? if it doesn't work I'll add it back to =dev-lang/php-5.4.2, otherwise we can push these changes back into gx86. http://overlays.gentoo.org/proj/alt/changeset/60478 (plz ignore src_install-v2.eblit, which I changed by mistake)
It seems these changes have been applied to the current ebuilds, thanks!