summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Jezak <josejx@gentoo.org>2005-09-14 19:13:59 +0000
committerJoseph Jezak <josejx@gentoo.org>2005-09-14 19:13:59 +0000
commit677b0c031981110f623850851c160f4f1351ef96 (patch)
tree1482f3f4ce049c6ce06e15f46daae7ba349d505f /app-text/kbedic
parenthelp fix #88002 and others (diff)
downloadgentoo-2-677b0c031981110f623850851c160f4f1351ef96.tar.gz
gentoo-2-677b0c031981110f623850851c160f4f1351ef96.tar.bz2
gentoo-2-677b0c031981110f623850851c160f4f1351ef96.zip
Marked ppc and added patch for -mpowerpc-gfxopt fix. Thanks bambam. (Bug #99198)
(Portage version: 2.0.52-r1)
Diffstat (limited to 'app-text/kbedic')
-rw-r--r--app-text/kbedic/ChangeLog7
-rw-r--r--app-text/kbedic/files/ppc-gfxopt.patch13
-rw-r--r--app-text/kbedic/kbedic-4.0.ebuild13
3 files changed, 29 insertions, 4 deletions
diff --git a/app-text/kbedic/ChangeLog b/app-text/kbedic/ChangeLog
index 94f1b2542925..2d7b9d55b140 100644
--- a/app-text/kbedic/ChangeLog
+++ b/app-text/kbedic/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/kbedic
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/kbedic/ChangeLog,v 1.18 2005/07/07 04:29:42 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/kbedic/ChangeLog,v 1.19 2005/09/14 19:13:59 josejx Exp $
+
+ 14 Sep 2005; Joseph Jezak <josejx@gentoo.org>
+ +files/ppc-gfxopt.patch, kbedic-4.0.ebuild:
+ Marked ppc and added patch for -mpowerpc-gfxopt fix. Thanks bambam. (Bug
+ #99198)
07 Jul 2005; Caleb Tennis <caleb@gentoo.org> kbedic-4.0.ebuild:
Fix qt dep
diff --git a/app-text/kbedic/files/ppc-gfxopt.patch b/app-text/kbedic/files/ppc-gfxopt.patch
new file mode 100644
index 000000000000..121f1f5d2bb5
--- /dev/null
+++ b/app-text/kbedic/files/ppc-gfxopt.patch
@@ -0,0 +1,13 @@
+--- configure
++++ configure
+@@ -1657,8 +1657,8 @@
+ fi
+
+ if test "$with_debug" = "no"; then
+- CXXFLAGS="`echo $CXXFLAGS | sed s/-g//`"
+- CFLAGS="`echo $CFLAGS | sed s/-g//`"
++ CXXFLAGS="`echo $CXXFLAGS | sed s/\ -g\ //`"
++ CFLAGS="`echo $CFLAGS | sed s/\ -g\ //`"
+ fi
+
+
diff --git a/app-text/kbedic/kbedic-4.0.ebuild b/app-text/kbedic/kbedic-4.0.ebuild
index 754a50786063..c9a499f5caa2 100644
--- a/app-text/kbedic/kbedic-4.0.ebuild
+++ b/app-text/kbedic/kbedic-4.0.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/kbedic/kbedic-4.0.ebuild,v 1.10 2005/07/07 04:29:42 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/kbedic/kbedic-4.0.ebuild,v 1.11 2005/09/14 19:13:59 josejx Exp $
-inherit kde
+inherit kde eutils
DESCRIPTION="English <-> Bulgarian Dictionary"
HOMEPAGE="http://kbedic.sourceforge.net"
@@ -10,12 +10,19 @@ SRC_URI="mirror://sourceforge/kbedic/$P.tar.gz"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="x86 ~amd64 ~ppc"
+KEYWORDS="x86 ~amd64 ppc"
IUSE="kde"
DEPEND="=x11-libs/qt-3*
kde? ( >=kde-base/kdelibs-3 )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/ppc-gfxopt.patch
+}
+
src_compile() {
set-qtdir 3
set-kdedir 3