summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald van Dijk <truedfx@gentoo.org>2008-09-14 16:41:31 +0000
committerHarald van Dijk <truedfx@gentoo.org>2008-09-14 16:41:31 +0000
commit0bef2a22f0cced62dbcc6bd76bd0624345254aaf (patch)
treebff23e5e7e1526944ba612efb7717088874014e7 /app-editors
parentInitial import of split gnome-python-desktop. This package installs the Evolu... (diff)
downloadgentoo-2-0bef2a22f0cced62dbcc6bd76bd0624345254aaf.tar.gz
gentoo-2-0bef2a22f0cced62dbcc6bd76bd0624345254aaf.tar.bz2
gentoo-2-0bef2a22f0cced62dbcc6bd76bd0624345254aaf.zip
Fix Motif detection (#154997)
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 x86_64)
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/ted/ChangeLog6
-rw-r--r--app-editors/ted/files/ted-2.17-motif.patch20
-rw-r--r--app-editors/ted/ted-2.17-r1.ebuild12
3 files changed, 36 insertions, 2 deletions
diff --git a/app-editors/ted/ChangeLog b/app-editors/ted/ChangeLog
index 3c3beba51afd..9c9af7168b67 100644
--- a/app-editors/ted/ChangeLog
+++ b/app-editors/ted/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-editors/ted
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/ted/ChangeLog,v 1.24 2008/01/18 03:26:24 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/ted/ChangeLog,v 1.25 2008/09/14 16:41:30 truedfx Exp $
+
+ 14 Sep 2008; Harald van Dijk <truedfx@gentoo.org>
+ +files/ted-2.17-motif.patch, ted-2.17-r1.ebuild:
+ Fix Motif detection (#154997)
*ted-2.17-r1 (18 Jan 2008)
diff --git a/app-editors/ted/files/ted-2.17-motif.patch b/app-editors/ted/files/ted-2.17-motif.patch
new file mode 100644
index 000000000000..83ef2af51446
--- /dev/null
+++ b/app-editors/ted/files/ted-2.17-motif.patch
@@ -0,0 +1,20 @@
+--- Ted-2.17/appFrame/aclocal.m4
++++ Ted-2.17/appFrame/aclocal.m4
+@@ -210,6 +210,7 @@
+ then
+ # Includes
+ for ac_dir in \
++ /usr/include \
+ /usr/X11R6/include \
+ /usr/local/include \
+ /usr/dt/include \
+--- Ted-2.17/Ted/aclocal.m4
++++ Ted-2.17/Ted/aclocal.m4
+@@ -279,6 +279,7 @@
+ then
+ # Includes
+ for ac_dir in \
++ /usr/include \
+ /usr/X11R6/include \
+ /usr/local/include \
+ /usr/dt/include \
diff --git a/app-editors/ted/ted-2.17-r1.ebuild b/app-editors/ted/ted-2.17-r1.ebuild
index e2ddb8d840ac..a15fbd8ac263 100644
--- a/app-editors/ted/ted-2.17-r1.ebuild
+++ b/app-editors/ted/ted-2.17-r1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/ted/ted-2.17-r1.ebuild,v 1.1 2008/01/18 03:26:24 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/ted/ted-2.17-r1.ebuild,v 1.2 2008/09/14 16:41:30 truedfx Exp $
+
+inherit autotools
DESCRIPTION="X-based rich text editor"
HOMEPAGE="http://www.nllgg.nl/Ted"
@@ -20,7 +22,15 @@ S="${WORKDIR}/Ted-${PV}"
src_unpack() {
unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-motif.patch
+
+ cd "${S}"/appFrame
+ eautoreconf
+
cd "${S}"/Ted
+ eautoreconf
sed -i \
-e 's@^CFLAGS=@CFLAGS= -DDOCUMENT_DIR=\\"/usr/share/doc/${PF}/\\"@' \
makefile.in