--- pinentry-0.8.2.ebuild 2012-11-16 16:31:21.067142318 +0100 +++ pinentry-0.8.2-r1.ebuild 2012-11-16 16:41:24.609596999 +0100 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.8.2.ebuild,v 1.2 2012/09/03 13:53:02 kensington Exp $ -EAPI=3 +EAPI=4 inherit multilib eutils flag-o-matic @@ -30,6 +30,8 @@ qt4? ( virtual/pkgconfig ) )" +DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) + pkg_setup() { use static && append-ldflags -static @@ -49,6 +51,11 @@ fi } +src_compile() { + #needed to respect system AR + emake AR="$(tc-getAR)" +} + src_configure() { local myconf="" @@ -78,8 +85,8 @@ } src_install() { - emake DESTDIR="${D}" install || die - dodoc AUTHORS ChangeLog NEWS README THANKS TODO + default + # needed to avoid file collisions rm -f "${ED}"/usr/bin/pinentry || die }