summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-07-08 21:22:08 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-07-08 21:22:08 +0000
commit6e2a39371de0eac9af9e0431f59aa2de157d1c4d (patch)
tree9e6634285b759196fc1e7587c2aca9da0bf40bdd /media-gfx/exact-image
parentRemoved remaining KEYWORDS for which we now have stable ones in seamonkey-2. (diff)
downloadgentoo-2-6e2a39371de0eac9af9e0431f59aa2de157d1c4d.tar.gz
gentoo-2-6e2a39371de0eac9af9e0431f59aa2de157d1c4d.tar.bz2
gentoo-2-6e2a39371de0eac9af9e0431f59aa2de157d1c4d.zip
Fixed hardcoded libdir and python paths leading to broken installation wrt bug #327171
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/exact-image')
-rw-r--r--media-gfx/exact-image/ChangeLog7
-rw-r--r--media-gfx/exact-image/exact-image-0.8.1.ebuild10
2 files changed, 14 insertions, 3 deletions
diff --git a/media-gfx/exact-image/ChangeLog b/media-gfx/exact-image/ChangeLog
index 6bcbc9092745..52c7d94d476d 100644
--- a/media-gfx/exact-image/ChangeLog
+++ b/media-gfx/exact-image/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/exact-image
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/exact-image/ChangeLog,v 1.3 2010/06/21 20:47:39 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/exact-image/ChangeLog,v 1.4 2010/07/08 21:22:08 hwoarang Exp $
+
+ 08 Jul 2010; Markos Chandras <hwoarang@gentoo.org>
+ exact-image-0.8.1.ebuild:
+ Fixed hardcoded libdir and python paths leading to broken installation wrt
+ bug #327171
*exact-image-0.8.1 (21 Jun 2010)
diff --git a/media-gfx/exact-image/exact-image-0.8.1.ebuild b/media-gfx/exact-image/exact-image-0.8.1.ebuild
index 7fe104c45a85..9687826011c7 100644
--- a/media-gfx/exact-image/exact-image-0.8.1.ebuild
+++ b/media-gfx/exact-image/exact-image-0.8.1.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/exact-image/exact-image-0.8.1.ebuild,v 1.1 2010/06/21 20:47:39 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/exact-image/exact-image-0.8.1.ebuild,v 1.2 2010/07/08 21:22:08 hwoarang Exp $
EAPI=2
PYTHON_DEPEND="python? 2:2.5"
-inherit eutils python
+inherit eutils multilib python
DESCRIPTION="A fast, modern and generic image processing library"
HOMEPAGE="http://www.exactcode.de/site/open_source/exactimage/"
@@ -48,7 +48,12 @@ pkg_setup() {
}
src_prepare() {
+ python_convert_shebangs -r 2 .
epatch "${FILESDIR}"/${PN}-0.7.5-libpng14.patch
+ # fix python hardcoded path wrt bug #327171
+ sed -i -e "s:python2.5:python$(python_get_version):" \
+ -e "s:\$(libdir):usr/$(get_libdir):" \
+ "${S}"/api/python/Makefile
}
src_configure() {
@@ -58,6 +63,7 @@ src_configure() {
./configure \
--prefix=/usr \
+ --libdir=/usr/$(get_libdir) \
$(use_with X x11) \
$(use_with truetype freetype) \
--without-evas \