--- /usr/portage/media-libs/openexr/openexr-1.7.0.ebuild 2012-05-09 13:01:19.000000000 -0400 +++ media-libs/openexr/openexr-1.7.0-r1.ebuild 2012-07-08 04:24:13.892957565 -0400 @@ -1,8 +1,9 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/openexr/openexr-1.7.0.ebuild,v 1.10 2012/05/09 17:00:17 aballier Exp $ +# $Header: $ + +EAPI=3 -EAPI=2 inherit eutils libtool DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries" @@ -11,7 +12,7 @@ LICENSE="BSD" SLOT="0" -KEYWORDS="alpha amd64 -arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" +KEYWORDS="alpha amd64 -arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" IUSE="examples static-libs" RDEPEND="sys-libs/zlib @@ -39,8 +40,8 @@ src_install() { emake \ DESTDIR="${D}" \ - docdir="/usr/share/doc/${PF}/pdf" \ - examplesdir="/usr/share/doc/${PF}/examples" \ + docdir="${EPREFIX}/usr/share/doc/${PF}/pdf" \ + examplesdir="${EPREFIX}/usr/share/doc/${PF}/examples" \ install || die dodoc AUTHORS ChangeLog NEWS README @@ -48,8 +49,8 @@ if use examples; then dobin IlmImfExamples/imfexamples || die else - rm -rf "${D}"/usr/share/doc/${PF}/examples + rm -rf "${ED}"/usr/share/doc/${PF}/examples fi - find "${D}" -name '*.la' -delete + find "${ED}" -name '*.la' -delete } HTH
*** This bug has been marked as a duplicate of bug 425222 ***