Hi! sys-libs/timezone-data fails on cross-compilation, because in the Makefile the compiler is simply 'cc', instead of '${CHOST}-gcc'. This causes a problem on cross-compilation, in my case between x86 and amd64 plataforms. I attach a patch for timezone-data-2006a.ebuild which fixes that, and in timezone-data-2006b.ebuild the fix is the same. It works to me with both versions. Good bye!
Created attachment 83572 [details, diff] timezone-data-2006a.ebuild.patch
Comment on attachment 83572 [details, diff] timezone-data-2006a.ebuild.patch no, better to have makefile respect CC and do `tc-export CC`
Ok, I think that now it is ok. I have changed one line on the Makefile previously patched with timezone-data-2005n-makefile.patch, and applying this patch in the ebuild with epatch works well. I attach the patch for the Makefile.
Created attachment 83611 [details, diff] timezone-data-makefile-cc.patch
thanks, added your update to cvs
Hello! The other day, when I do the patch for the Makefile, the cross-compilation of timezone-data has worked for me, but yesterday, when I have tryed with the fixed version of portage, it doesn't work, CC is still defined as 'cc'. I think that it was my fault, because the other day I was trying to fix with 'tc-export CC', but I don't attach a patch for the ebuild because I thought that it wasn't needed. To work well, CC must be exported in the enviroment, so, here I attach a patch to the ebuild, which with the new Makefile patch works very well. Sorry for fault. Good bye!
Created attachment 84832 [details, diff] timezone-data-2006a.ebuild.patch to export CC
fixed in cvs, thanks