# grep ^ar * | head -n1 tin-2.0.1:20130109-171833.log:ar -curv libcanlock.a src/sha1.o src/hmac_sha1.o src/base64.o src/canlock.o # grep ^ranlib * | head -n1 tin-2.0.1:20130109-171833.log:ranlib libcanlock.a
It also adds -g to CFLAGS with USE=debug.
Adding this to src_prepare() fix the AR and RANLIB problem. # Respect AR and RANLIB (bug #451086) sed -i libcanlock/Makefile.in -e "s:@AR@:$(tc-getAR):" || die "sed libcanlock/Makefile.in failed" sed -i libcanlock/Makefile.in -e "s:@RANLIB@:$(tc-getRANLIB):" || die "sed libcanlock/Makefile.in failed"
Fixed in 2.0.1 and 2.1.2.
(In reply to comment #2) > Adding this to src_prepare() fix the AR and RANLIB problem. > > # Respect AR and RANLIB (bug #451086) > sed -i libcanlock/Makefile.in -e "s:@AR@:$(tc-getAR):" || die "sed > libcanlock/Makefile.in failed" > sed -i libcanlock/Makefile.in -e "s:@RANLIB@:$(tc-getRANLIB):" || die "sed > libcanlock/Makefile.in failed" configure already checked nicely whether they were set, so we merely needed to tc-export * in the ebuild.