summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2005-11-09 20:23:08 +0000
committerMamoru Komachi <usata@gentoo.org>2005-11-09 20:23:08 +0000
commit0b3c5a28564d3e8e5b795c26a991d8da43575c81 (patch)
tree905de9b53db38471f7ccd89de793e3a8f9274c1e /app-i18n/kimera
parentStable on ppc. (diff)
downloadgentoo-2-0b3c5a28564d3e8e5b795c26a991d8da43575c81.tar.gz
gentoo-2-0b3c5a28564d3e8e5b795c26a991d8da43575c81.tar.bz2
gentoo-2-0b3c5a28564d3e8e5b795c26a991d8da43575c81.zip
Fixed compile error when anthy not present. Thanks to AOYAMA Kazuharu.
(Portage version: 2.0.52-r1)
Diffstat (limited to 'app-i18n/kimera')
-rw-r--r--app-i18n/kimera/ChangeLog5
-rw-r--r--app-i18n/kimera/kimera-1.0.ebuild13
2 files changed, 14 insertions, 4 deletions
diff --git a/app-i18n/kimera/ChangeLog b/app-i18n/kimera/ChangeLog
index 22cea460889b..a28182e958ee 100644
--- a/app-i18n/kimera/ChangeLog
+++ b/app-i18n/kimera/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-i18n/kimera
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/kimera/ChangeLog,v 1.1 2005/10/30 04:24:08 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/kimera/ChangeLog,v 1.2 2005/11/09 20:23:08 usata Exp $
+
+ 09 Nov 2005; Mamoru KOMACHI <usata@gentoo.org> kimera-1.0.ebuild:
+ Fixed compile error when anthy not present. Thanks to AOYAMA Kazuharu.
*kimera-1.0 (30 Oct 2005)
diff --git a/app-i18n/kimera/kimera-1.0.ebuild b/app-i18n/kimera/kimera-1.0.ebuild
index 08137c6fee68..0f9c5805047a 100644
--- a/app-i18n/kimera/kimera-1.0.ebuild
+++ b/app-i18n/kimera/kimera-1.0.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/kimera/kimera-1.0.ebuild,v 1.2 2005/10/30 04:28:49 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/kimera/kimera-1.0.ebuild,v 1.3 2005/11/09 20:23:08 usata Exp $
inherit kde-functions
need-qt 3
-IUSE=""
+IUSE="anthy"
MY_P="${P/_}"
DESCRIPTION="A Japanese input server which supports the XIM protocol"
@@ -16,10 +16,17 @@ SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"
+DEPEND="anthy? ( app-i18n/anthy )"
+
S="${WORKDIR}/${P/_*}"
src_compile(){
- qmake kimera.pro || die
+ local myconf
+ if ! use anthy ; then
+ myconf="no_anthy=1"
+ fi
+
+ qmake ${myconf} kimera.pro || die
emake || die
}