commit:     da597a9ae28ca4e1ac6c6789d3ea59d01b15dcca
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 29 23:15:56 2017 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Aug 29 23:16:37 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da597a9a

media-gfx/gimp: prefix support

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 media-gfx/gimp/gimp-2.9.6.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-gfx/gimp/gimp-2.9.6.ebuild b/media-gfx/gimp/gimp-2.9.6.ebuild
index 4411c301ad3..a10239d72f3 100644
--- a/media-gfx/gimp/gimp-2.9.6.ebuild
+++ b/media-gfx/gimp/gimp-2.9.6.ebuild
@@ -103,8 +103,8 @@ src_prepare() {
 
 src_configure() {
        local myconf=(
-               GEGL=/usr/bin/gegl-0.3
-               GDBUS_CODEGEN=/bin/false
+               GEGL=${EPREFIX}/usr/bin/gegl-0.3
+               GDBUS_CODEGEN=${EPREFIX}/bin/false
 
                --enable-default-binary
                --disable-silent-rules
@@ -148,7 +148,7 @@ src_compile() {
        addwrite /dev/ati/  # bug 589198
        addwrite /proc/mtrr  # bug 589198
 
-       export XDG_DATA_DIRS=/usr/share  # bug 587004
+       export XDG_DATA_DIRS=${EPREFIX}/usr/share  # bug 587004
        gnome2_src_compile
 }
 

Reply via email to