cracklib would not build for me (couldn't find cc). To fix, I changed all references in the cracklib-2.7-gentoo-new.patch from cc to $(CC), so it will compile with whatever CC is set to (gcc).
Created attachment 7622 [details, diff] ebuild to change cc to $(CC) in the gentoo-new.patch
ok, whatever. Wouldn't build for me as was this morning.
could you paste the error msg ? your patch doesn't work
also paste #emerge info
Created attachment 7626 [details, diff] replacement patch for cracklib-2.7-gentoo-new.diff - tested All I did was change references to cc to $(CC) in the cracklib-2.7-gentoo-new.diff patch. This one is tested.
there's only one more problem $(CC) is only set when gcc-config is emerged i don't want to add gcc-config to DEPEND
Hmm. The gnu Make documentation says that make defaults $(CC) to gcc. And cc isn't set on my default gentoo install. It seems something has to give. I just unmerge gcc-config, logged out and in again...should $CC not be set, then? cuz it is set to gcc right now.
Have you considered simply changing cc to gcc?
Yes, but that would hard-code out anybody using icc for instance.
Was any resolution made on this ? Martin: why didn't you want to DEPEND on gcc-config?
I've done all of this now. gcc-config has been added to DEPEND, as it is in the {R,P,}DEPEND for gcc, so the system WILL have it anyway. The cc to $(CC) change has been made as the fix to bug #20985 as it was causing problems for a user. -r7 released as stable now with a fix for PHP after a week in unstable and no problems.