summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2006-04-28 19:36:34 +0000
committerAlfredo Tupone <tupone@gentoo.org>2006-04-28 19:36:34 +0000
commitb5b0f503c11b21491717339ce5fb49f345e6c875 (patch)
tree50c5a4616b299f1d69db0045be6547143c9a198b /games-board
parentMarked -ppc due to unavailable libraries. See bug #84322. (diff)
downloadgentoo-2-b5b0f503c11b21491717339ce5fb49f345e6c875.tar.gz
gentoo-2-b5b0f503c11b21491717339ce5fb49f345e6c875.tar.bz2
gentoo-2-b5b0f503c11b21491717339ce5fb49f345e6c875.zip
Fixing sandbox failure, bug #131597
(Portage version: 2.1_pre9-r4)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/daemonshogi/ChangeLog8
-rw-r--r--games-board/daemonshogi/daemonshogi-0.1.3.ebuild14
-rw-r--r--games-board/daemonshogi/files/daemonshogi-0.1.3-sandbox.patch54
-rw-r--r--games-board/daemonshogi/files/digest-daemonshogi-0.1.32
4 files changed, 72 insertions, 6 deletions
diff --git a/games-board/daemonshogi/ChangeLog b/games-board/daemonshogi/ChangeLog
index bd067e148845..3670a67ea3e4 100644
--- a/games-board/daemonshogi/ChangeLog
+++ b/games-board/daemonshogi/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-board/daemonshogi
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/daemonshogi/ChangeLog,v 1.6 2004/11/12 18:44:49 wolf31o2 Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/daemonshogi/ChangeLog,v 1.7 2006/04/28 19:36:34 tupone Exp $
+
+ 28 Apr 2006; <Tupone@gentoo.org> +files/daemonshogi-0.1.3-sandbox.patch,
+ daemonshogi-0.1.3.ebuild:
+ Fixing sandbox failure, bug #131597 by me
12 Nov 2004; Chris Gianelloni <wolf31o2@gentoo.org>
daemonshogi-0.1.3.ebuild:
diff --git a/games-board/daemonshogi/daemonshogi-0.1.3.ebuild b/games-board/daemonshogi/daemonshogi-0.1.3.ebuild
index 158d483c4abc..13b6cc8acb5b 100644
--- a/games-board/daemonshogi/daemonshogi-0.1.3.ebuild
+++ b/games-board/daemonshogi/daemonshogi-0.1.3.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# 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.6 2004/11/12 18:44:49 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/daemonshogi/daemonshogi-0.1.3.ebuild,v 1.7 2006/04/28 19:36:34 tupone Exp $
-inherit games
+inherit eutils games
DESCRIPTION="A GTK+ based, simple shogi (Japanese chess) program"
HOMEPAGE="http://www.users.yun.co.jp/~tokita/daemonshogi/"
@@ -16,6 +16,12 @@ IUSE="nls"
DEPEND="gnome-base/gnome-libs
nls? ( >=sys-devel/gettext-0.10.38 )"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}"-sandbox.patch
+}
+
src_compile() {
if use nls && has_version '>=sys-devel/gettext-0.12' ; then
export XGETTEXT="/usr/bin/xgettext --from-code=EUC-JP"
@@ -25,7 +31,7 @@ src_compile() {
}
src_install() {
- egamesinstall || die
+ make install DESTDIR=${D} || die
dodoc ChangeLog README* NEWS
prepgamesdirs
}
diff --git a/games-board/daemonshogi/files/daemonshogi-0.1.3-sandbox.patch b/games-board/daemonshogi/files/daemonshogi-0.1.3-sandbox.patch
new file mode 100644
index 000000000000..be526515134f
--- /dev/null
+++ b/games-board/daemonshogi/files/daemonshogi-0.1.3-sandbox.patch
@@ -0,0 +1,54 @@
+--- po/Makefile.in.in 2002-09-04 07:32:04.000000000 +0200
++++ /home/Tupone/Desktop/Makefile.in.in 2006-04-28 21:15:02.000000000 +0200
+@@ -111,16 +111,16 @@
+ install-data-no: all
+ install-data-yes: all
+ if test -r "$(MKINSTALLDIRS)"; then \
+- $(MKINSTALLDIRS) $(datadir); \
++ $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \
+ else \
+- $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \
++ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \
+ fi
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ case "$$cat" in \
+- *.gmo) destdir=$(gnulocaledir);; \
+- *) destdir=$(localedir);; \
++ *.gmo) destdir=$(DESTDIR)$(gnulocaledir);; \
++ *) destdir=$(DESTDIR)$(localedir);; \
+ esac; \
+ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
+ dir=$$destdir/$$lang/LC_MESSAGES; \
+@@ -153,12 +153,12 @@
+ done
+ if test "$(PACKAGE)" = "gettext"; then \
+ if test -r "$(MKINSTALLDIRS)"; then \
+- $(MKINSTALLDIRS) $(gettextsrcdir); \
++ $(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \
+ else \
+- $(SHELL) $(top_srcdir)/mkinstalldirs $(gettextsrcdir); \
++ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(gettextsrcdir); \
+ fi; \
+ $(INSTALL_DATA) $(srcdir)/Makefile.in.in \
+- $(gettextsrcdir)/Makefile.in.in; \
++ $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
+ else \
+ : ; \
+ fi
+@@ -171,10 +171,10 @@
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
+- rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
+- rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
+- rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
+- rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
++ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
++ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
++ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
++ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
+ done
+ rm -f $(gettextsrcdir)/po-Makefile.in.in
+
diff --git a/games-board/daemonshogi/files/digest-daemonshogi-0.1.3 b/games-board/daemonshogi/files/digest-daemonshogi-0.1.3
index 4518571255c0..3236dc84bde1 100644
--- a/games-board/daemonshogi/files/digest-daemonshogi-0.1.3
+++ b/games-board/daemonshogi/files/digest-daemonshogi-0.1.3
@@ -1 +1,3 @@
MD5 0c50aed707c8781e00ca0947fe77546a daemonshogi-0.1.3.tar.gz 507275
+RMD160 4d309f2540ddc5555ccd54647f769bc9ff1a0993 daemonshogi-0.1.3.tar.gz 507275
+SHA256 db05612259aaa43a50b29d41bfe321d41ab907b0f55cbe33ba4ccaa6b884fd61 daemonshogi-0.1.3.tar.gz 507275