I2P released several versions of the NativeBigInteger code since 0.6.4 came out. Attached ebuild is a meta-packaged around dev-libs/jbigi (bug #376967) and dev-libs/jcpuid (bug #376969), allowing to install jcpuid only on x86 systems. Reproducible: Always
Created attachment 281497 [details] ebuild for 0.8.7
*** Bug 376967 has been marked as a duplicate of this bug. ***
*** Bug 376969 has been marked as a duplicate of this bug. ***
nativebiginteger-0.8.7 just committed, should be on your local rsync mirror in a few hours. I see no need to split this package even more, USE-conditional lines should be enough to keep certain things specific to some arches.
The version committed contains a bug when installing jbigi, since it omitted the lib_prefix="lib",lib_suffix="$(get_libname)" stuff. It is necessary, because on Windows the lib prefix is not "lib" and the suffix is ".dll" and on MacOSX the suffix is not ".so" but ".jnilib".
Next one: ( use amd64 || use x86 ) && dolib c/jcpuid/lib/freenet/support/CPUInformation/libjcpuid-x86-linux.so || die fails on non-x86.
(In reply to comment #6) > Next one: > ( use amd64 || use x86 ) && dolib > c/jcpuid/lib/freenet/support/CPUInformation/libjcpuid-x86-linux.so || die > fails on non-x86. P.S: Sorry if that was confusing: I mean non-x86 and non-amd64. An if ... then ... fi construct solves the issue.
Just removed the die from that and some other lines, so that part should be fixed. Since i dont plan to support Windows or MacOS with those ebuilds in the near future, i dont see a need to include code for them, so i left that part out.