You receive this bug because this package does not respect my system's AR ( x86_64-pc-linux-gnu-ar - /usr/bin/x86_64-pc-linux-gnu-ar ) and calls directly ar - /usr/bin/ar
The possible solutions to fix this issue are:
1)Fix the buildsystem, if you can
2)inherit toolchain-funcs and use tc-export AR
3)inherit toolchain-funcs and use emake AR="$(tc-getAR)"
ar crs libtinyscheme.a scheme.o dynload.o
Created attachment 350128 [details]
I've updated the ebuild and tried to fix all the remaining issues. please have a look at it, it should fix:
* respect ldflags (bug 334649)
* respect cc (bug 455294)
* respect ar (bug 455296)
* static-lib support (bug 455298)
* soname symlink (bug 455300)
* ebuild bump to eapi 5
Created attachment 350130 [details, diff]
*tinyscheme-1.41 (11 Dec 2013)
11 Dec 2013; Panagiotis Christopoulos <firstname.lastname@example.org>
Bump to 1.41 contains various fixes for bug #334649, bug #455294, bug
#455296, bug #455298, bug #455300 and bug #493694, thanks to Agostino Sarubbo
(ago at gentoo dot org) for reporting the QA issues. Special thanks to
Michael Mair-Keimberger (iamnr3) who made the patches in bug #455296. Prefix
(darwin) keywords dropped cause logic inside the ebuild has changed and the
ebuild needs rekeywording.
I'll close this when 1.41 is stabilized, removing old versions.