--- a/autofs-5.0.7-r4.ebuild 2013-09-05 22:31:06.891527025 +0800 +++ b/autofs-5.0.7-r4.ebuild 2013-09-05 22:49:38.876509486 +0800 @@ -6,7 +6,7 @@ AUTOTOOLS_AUTORECONF=true -inherit autotools-utils linux-info multilib systemd +inherit autotools-utils linux-info multilib systemd toolchain-funcs PATCH_VER=3 [[ -n ${PATCH_VER} ]] && \ @@ -101,6 +101,12 @@ autotools-utils_src_configure } +src_compile() { + autotools-utils_src_compile \ + AR="$(tc-getAR)" \ + RANLIB="$(tc-getRANLIB)" +} + src_install() { autotools-utils_src_install