Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 376875

Summary: net-libs/nativebiginteger: Support non-x86
Product: Gentoo Linux Reporter: Dennis Schridde <dschridde+gentoobugs>
Component: Current packagesAssignee: Thomas Sachau <tommy>
Status: RESOLVED WONTFIX    
Severity: enhancement Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to allow compilation on non-x86

Description Dennis Schridde 2011-07-29 09:28:46 UTC
Attached patch allows to build net-libs/nativebiginteger-0.6.4-r3 on non-x86 architectures.

The problem there is that jcpuid is only available for x86, but NativeBigInteger tries to install it unconditionally. The patch removes the failing "install" lines from the makefile using sed if a non-x86 arch is detected.

This also adds KEYWORDS=~ia64, since that is the arch I tested this with.

Reproducible: Always
Comment 1 Dennis Schridde 2011-07-29 09:29:53 UTC
Created attachment 281409 [details, diff]
patch to allow compilation on non-x86
Comment 2 Thomas Sachau gentoo-dev 2011-08-03 17:54:14 UTC
You can use the latest version of nativebiginteger, so i wont change older versions for this.
If you want an additional keyword, you will have to open a keywording request for the ebuild (and dependencies).