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
commitd39400db9d255afa884e48366da9cab75e69399b (patch)
tree655c507a5d0558d6f0e0deefe5b9175c18555b3e /app-editors/ted/ted-2.20.ebuild
parentTodays python patches (diff)
downloadhistorical-d39400db9d255afa884e48366da9cab75e69399b.tar.gz
historical-d39400db9d255afa884e48366da9cab75e69399b.tar.bz2
historical-d39400db9d255afa884e48366da9cab75e69399b.zip
Fix building with libpng14.
Package-Manager: portage-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