--- file_not_specified_in_diff +++ file_not_specified_in_diff @@ -, +, @@ --- libatomic_ops-1.2-r1.ebuild 9 Dec 2011 18:36:31 -0000 1.19 +++ libatomic_ops-1.2-r1.ebuild 18 Oct 2012 00:22:36 -0000 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libatomic_ops/libatomic_ops-1.2-r1.ebuild,v 1.19 2011/12/09 18:36:31 vapier Exp $ -inherit eutils autotools +inherit eutils autotools toolchain-funcs DESCRIPTION="Implementation for atomic memory update operations" HOMEPAGE="http://www.hpl.hp.com/research/linux/atomic_ops/" @@ -24,6 +24,11 @@ eautoreconf } +src_compile() { + econf || die + emake AR="$(tc-getAR)" || die +} + src_install() { emake pkgdatadir="${EPREFIX}/usr/share/doc/${PF}" DESTDIR="${D}" install || die }