summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-20 02:10:29 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-20 02:10:29 +0000
commit278b6b112836af097e2e56f18c22d9000af7bedb (patch)
treee07556fda2882827339b0990ec3e48f6b5a98ce9 /games-roguelike/hengband
parentdont install gssapi_mech.conf #140764 by Akos Ladanyi (diff)
downloadgentoo-2-278b6b112836af097e2e56f18c22d9000af7bedb.tar.gz
gentoo-2-278b6b112836af097e2e56f18c22d9000af7bedb.tar.bz2
gentoo-2-278b6b112836af097e2e56f18c22d9000af7bedb.zip
Replace cjk useflag with linguas_ja as per bug #141105, unbreak Japanese language support.
(Portage version: 2.1.1_pre3-r1)
Diffstat (limited to 'games-roguelike/hengband')
-rw-r--r--games-roguelike/hengband/ChangeLog6
-rw-r--r--games-roguelike/hengband/hengband-1.6.2.ebuild10
2 files changed, 11 insertions, 5 deletions
diff --git a/games-roguelike/hengband/ChangeLog b/games-roguelike/hengband/ChangeLog
index 24dd3354e0cb..66e6daeeb8cd 100644
--- a/games-roguelike/hengband/ChangeLog
+++ b/games-roguelike/hengband/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-roguelike/hengband
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/ChangeLog,v 1.7 2006/07/18 07:37:47 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/ChangeLog,v 1.8 2006/07/20 02:10:29 flameeyes Exp $
+
+ 20 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> hengband-1.6.2.ebuild:
+ Replace cjk useflag with linguas_ja as per bug #141105, unbreak Japanese
+ language support.
18 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> hengband-1.6.2.ebuild:
Add ~x86-fbsd keyword.
diff --git a/games-roguelike/hengband/hengband-1.6.2.ebuild b/games-roguelike/hengband/hengband-1.6.2.ebuild
index 43477013fe7c..8ba89c970a92 100644
--- a/games-roguelike/hengband/hengband-1.6.2.ebuild
+++ b/games-roguelike/hengband/hengband-1.6.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/hengband-1.6.2.ebuild,v 1.3 2006/07/18 07:37:47 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/hengband-1.6.2.ebuild,v 1.4 2006/07/20 02:10:29 flameeyes Exp $
inherit games
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge.jp/hengband/10331/${P}.tar.bz2"
KEYWORDS="ppc x86 ~x86-fbsd"
LICENSE="Moria"
SLOT="0"
-IUSE="cjk X"
+IUSE="X linguas_ja"
RDEPEND=">=sys-libs/ncurses-5
X? ( || ( x11-libs/libX11 virtual/x11 ) )"
@@ -34,17 +34,19 @@ src_unpack() {
}
src_compile() {
+ local myconf
+ use linguas_ja || myconf="--disable-japanese"
egamesconf \
--with-setgid=${GAMES_GROUP} \
- `use_enable cjk japanese` \
`use_with X x` \
+ ${myconf} \
|| die
emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
- if use cjk ; then
+ if use linguas_ja ; then
dodoc readme.txt autopick.txt readme_eng.txt autopick_eng.txt
else
newdoc readme_eng.txt readme.txt