diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2003-11-15 22:03:49 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2003-11-15 22:03:49 +0000 |
commit | 0c7f6f16b8a03867f126ab8690086741ff90be72 (patch) | |
tree | 1672a8dc1b2b71fa0f2c77cc48f8e958a1028e5b /games-board/daemonshogi | |
parent | bzip2 support in makeself files (diff) | |
download | historical-0c7f6f16b8a03867f126ab8690086741ff90be72.tar.gz historical-0c7f6f16b8a03867f126ab8690086741ff90be72.tar.bz2 historical-0c7f6f16b8a03867f126ab8690086741ff90be72.zip |
fix for bug 33347 - patch from Mamoru KOMACHI to work with gettext-12
Diffstat (limited to 'games-board/daemonshogi')
-rw-r--r-- | games-board/daemonshogi/ChangeLog | 6 | ||||
-rw-r--r-- | games-board/daemonshogi/Manifest | 4 | ||||
-rw-r--r-- | games-board/daemonshogi/daemonshogi-0.1.3.ebuild | 19 |
3 files changed, 12 insertions, 17 deletions
diff --git a/games-board/daemonshogi/ChangeLog b/games-board/daemonshogi/ChangeLog index d159cee0bdd8..bf3ef7599665 100644 --- a/games-board/daemonshogi/ChangeLog +++ b/games-board/daemonshogi/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-board/daemonshogi # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/daemonshogi/ChangeLog,v 1.3 2003/11/13 07:21:35 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/daemonshogi/ChangeLog,v 1.4 2003/11/15 22:03:46 mr_bones_ Exp $ + + 15 Nov 2003; Michael Sterrett <mr_bones_@gentoo.org> + daemonshogi-0.1.3.ebuild: + fix for bug 33347 - patch from Mamoru KOMACHI to work with gettext-12 12 Nov 2003; Michael Sterrett <mr_bones_@gentoo.org> daemonshogi-0.1.3.ebuild: diff --git a/games-board/daemonshogi/Manifest b/games-board/daemonshogi/Manifest index b90e4ac6d0a4..845fdac03a47 100644 --- a/games-board/daemonshogi/Manifest +++ b/games-board/daemonshogi/Manifest @@ -1,4 +1,4 @@ -MD5 0691b8389014b69e2239d64956409d70 ChangeLog 663 -MD5 78f7ec6c546eb58cd3e1d31d7aab4ac6 daemonshogi-0.1.3.ebuild 1040 +MD5 fc17cf24db386bb2e754abb175e388e6 ChangeLog 819 +MD5 f742d5a459f1408402a0e959cc115a4a daemonshogi-0.1.3.ebuild 943 MD5 a30c9d4ce8f9629d6d7323eaab258343 metadata.xml 241 MD5 c03a831291426128ab93478061233d42 files/digest-daemonshogi-0.1.3 69 diff --git a/games-board/daemonshogi/daemonshogi-0.1.3.ebuild b/games-board/daemonshogi/daemonshogi-0.1.3.ebuild index cfc7d6d9051c..2cfd74d2195e 100644 --- a/games-board/daemonshogi/daemonshogi-0.1.3.ebuild +++ b/games-board/daemonshogi/daemonshogi-0.1.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/daemonshogi/daemonshogi-0.1.3.ebuild,v 1.2 2003/11/13 07:21:35 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/daemonshogi/daemonshogi-0.1.3.ebuild,v 1.3 2003/11/15 22:03:46 mr_bones_ Exp $ inherit games @@ -15,21 +15,12 @@ SLOT="0" IUSE="nls" DEPEND="gnome-base/gnome-libs - >=sys-apps/sed-4" -RDEPEND="nls? ( >=sys-devel/gettext-0.10.38 )" - -src_unpack() { - unpack ${A} - cd ${S} - - # fix the .po file for gettext-12 (bug 33347) - sed -i \ - -e 's/ENCODING/8bit/' \ - -e 's/CHARSET/EUC-JP/' po/ja.po || \ - die "sed po/ja.po failed" -} + nls? ( >=sys-devel/gettext-0.10.38 )" src_compile() { + if use nls && has_version '>=sys-devel/gettext-0.12' ; then + export XGETTEXT="/usr/bin/xgettext --from-code=EUC-JP" + fi egamesconf `use_enable nls` || die emake || die "emake failed" } |