Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132181 - app-arch/unrar fails on cross-compilation
Summary: app-arch/unrar fails on cross-compilation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-03 16:13 UTC by Josu López Fernández
Modified: 2006-05-03 16:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
unrar-3.4.3.ebuild.patch (unrar-3.4.3.ebuild.patch,679 bytes, patch)
2006-05-03 16:14 UTC, Josu López Fernández
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Josu López Fernández 2006-05-03 16:13:54 UTC
Hi!
app-arch/unrar doesn't compile on cross-compilation between two different
arches, because the compiler is simply 'g++', and not '${CHOST}-g++'. To fix
it, is only needed to specify CXX variable when emake is executed, like the CXXFLAGS in this ebuild.
With the attached patch works to me well between i686, ppc and amd64.

Good bye!
Comment 1 Josu López Fernández 2006-05-03 16:14:19 UTC
Created attachment 86095 [details, diff]
unrar-3.4.3.ebuild.patch
Comment 2 SpanKY gentoo-dev 2006-05-03 16:34:42 UTC
added to cvs, thanks !