summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-05-12 09:04:21 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-05-12 09:04:21 +0000
commit75a2c37a56ec2481a7504c303a4c5b6161cac6f5 (patch)
tree538301816c9284f05e9bfbafe7c5ab444f6f0345 /media-gfx
parentinitial ebuild (diff)
downloadgentoo-2-75a2c37a56ec2481a7504c303a4c5b6161cac6f5.tar.gz
gentoo-2-75a2c37a56ec2481a7504c303a4c5b6161cac6f5.tar.bz2
gentoo-2-75a2c37a56ec2481a7504c303a4c5b6161cac6f5.zip
Fix libpng detection wrt #319339 by Vladimir <v_2e AT ukr.net>.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/k3d/ChangeLog6
-rw-r--r--media-gfx/k3d/k3d-0.7.11.0-r1.ebuild8
2 files changed, 11 insertions, 3 deletions
diff --git a/media-gfx/k3d/ChangeLog b/media-gfx/k3d/ChangeLog
index 48d344886224..22641c95c533 100644
--- a/media-gfx/k3d/ChangeLog
+++ b/media-gfx/k3d/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/k3d
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/ChangeLog,v 1.48 2010/01/01 16:00:23 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/ChangeLog,v 1.49 2010/05/12 09:04:21 ssuominen Exp $
+
+ 12 May 2010; Samuli Suominen <ssuominen@gentoo.org>
+ k3d-0.7.11.0-r1.ebuild:
+ Fix libpng detection wrt #319339 by Vladimir <v_2e AT ukr.net>.
01 Jan 2010; Raúl Porcel <armin76@gentoo.org> k3d-0.6.7.0-r1.ebuild:
Drop sparc keywords
diff --git a/media-gfx/k3d/k3d-0.7.11.0-r1.ebuild b/media-gfx/k3d/k3d-0.7.11.0-r1.ebuild
index 13aaae903d88..6ab2d4748ef8 100644
--- a/media-gfx/k3d/k3d-0.7.11.0-r1.ebuild
+++ b/media-gfx/k3d/k3d-0.7.11.0-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/k3d-0.7.11.0-r1.ebuild,v 1.3 2009/11/07 20:56:56 volkmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/k3d-0.7.11.0-r1.ebuild,v 1.4 2010/05/12 09:04:21 ssuominen Exp $
EAPI="2"
@@ -68,6 +68,10 @@ k3d_use_module() {
}
src_prepare() {
+ sed -i \
+ -e '/PKG_CHECK_MODULES/s:libpng12:libpng:' \
+ cmake/modules/K3DFindPNG.cmake || die
+
epatch "${FILESDIR}"/${P}-fix-potfiles.patch \
"${FILESDIR}"/${P}-cuda.patch \
"${FILESDIR}"/${P}-gcc44.patch