Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 425344 - [PATCH] openexr-1.7.0 prefix support
Summary: [PATCH] openexr-1.7.0 prefix support
Status: RESOLVED DUPLICATE of bug 425222
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-08 15:59 UTC by Nicolas Pinto
Modified: 2012-07-08 16:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Pinto 2012-07-08 15:59:51 UTC
--- /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
Comment 1 Nicolas Pinto 2012-07-08 16:06:54 UTC

*** This bug has been marked as a duplicate of bug 425222 ***