dev-lang/php-5.3.6-r1 fails to compile and install due to various reasons annotated in the follow-ups with possible fixes.
Created attachment 286601 [details, diff] working php-5.3.6-r1 ebuild First it fails with the following message: * ERROR: dev-lang/php-5.3.5-r1 failed (compile phase): * Unable to copy cgi SAPI This can be fixed by removing, at least on 10.6, the darwin specific sed statement.
Created attachment 286603 [details, diff] Remove ${EPREFIX} from helper Then it fails due to Q/A concerns -> double prefix -.- This is easily fixed by removing ${EPREFIX} in line 56 of the src_install-v2.eblit as it is prepended by the helper iirc…
Created attachment 286605 [details] Missing apache config file And as the best things come in threes it fails because of a missing apache config file. ;)
(In reply to comment #1) > Created attachment 286601 [details, diff] > working php-5.3.6-r1 ebuild > > First it fails with the following message: > * ERROR: dev-lang/php-5.3.5-r1 failed (compile phase): > * Unable to copy cgi SAPI > > This can be fixed by removing, at least on 10.6, the darwin specific sed > statement. This fix also applies to the 5.3.5 ebuilds.
eblit problem fixed files problem fixed What's left is the sed thing, which is odd, because upstream bug is still open and supposed to be necessary.