summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-03-08 21:20:42 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-03-08 21:20:42 +0000
commitdba4067f895ada732ea136611ae86c712c11eded (patch)
treebafe867997c860ff96ff2fcf2786eb92a72fb184 /app-editors/ted/ted-2.20.ebuild
parentTodays python patches (diff)
downloadgentoo-2-dba4067f895ada732ea136611ae86c712c11eded.tar.gz
gentoo-2-dba4067f895ada732ea136611ae86c712c11eded.tar.bz2
gentoo-2-dba4067f895ada732ea136611ae86c712c11eded.zip
Fix building with libpng14.
(Portage version: 2.2_rc65/cvs/Linux x86_64)
Diffstat (limited to 'app-editors/ted/ted-2.20.ebuild')
-rw-r--r--app-editors/ted/ted-2.20.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/app-editors/ted/ted-2.20.ebuild b/app-editors/ted/ted-2.20.ebuild
index e8c6bf9cd6d0..8534d42e97e5 100644
--- a/app-editors/ted/ted-2.20.ebuild
+++ b/app-editors/ted/ted-2.20.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/ted/ted-2.20.ebuild,v 1.2 2010/01/22 16:40:49 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/ted/ted-2.20.ebuild,v 1.3 2010/03/08 21:20:40 ssuominen Exp $
EAPI=2
+inherit eutils
DESCRIPTION="X-based rich text editor"
HOMEPAGE="http://www.nllgg.nl/Ted"
@@ -19,9 +20,11 @@ DEPEND="x11-libs/gtk+
>=media-libs/libpng-1.2.3"
RDEPEND="${DEPEND}"
-S="${WORKDIR}/Ted-${PV}"
+S=${WORKDIR}/Ted-${PV}
src_prepare() {
+ epatch "${FILESDIR}"/${P}-libpng14.patch
+
sed -i -e 's|/Ted/|/share/Ted/|' \
"${S}"/appFrame/appFrameConfig.h.in \
"${S}"/Ted/tedConfig.h.in || die