summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-03-06 01:19:01 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-03-06 01:19:01 +0000
commitc0a08a2965bfc46522972fa453d2af75847f57c4 (patch)
tree83f5bd42a87126feb18776bf67bfda1193133f54 /games-kids/lletters
parentheader fix; error messages (diff)
downloadhistorical-c0a08a2965bfc46522972fa453d2af75847f57c4.tar.gz
historical-c0a08a2965bfc46522972fa453d2af75847f57c4.tar.bz2
historical-c0a08a2965bfc46522972fa453d2af75847f57c4.zip
Fix sandbox violation with USE=nls. (bug #43762)
Diffstat (limited to 'games-kids/lletters')
-rw-r--r--games-kids/lletters/ChangeLog6
-rw-r--r--games-kids/lletters/Manifest6
-rw-r--r--games-kids/lletters/lletters-0.1.95-r1.ebuild14
3 files changed, 19 insertions, 7 deletions
diff --git a/games-kids/lletters/ChangeLog b/games-kids/lletters/ChangeLog
index e8c36740a39c..c47401227be5 100644
--- a/games-kids/lletters/ChangeLog
+++ b/games-kids/lletters/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-kids/lletters
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-kids/lletters/ChangeLog,v 1.5 2004/02/13 04:10:17 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-kids/lletters/ChangeLog,v 1.6 2004/03/06 01:19:01 mr_bones_ Exp $
+
+ 05 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ lletters-0.1.95-r1.ebuild:
+ Fix sandbox violation with USE=nls. (bug #43762)
12 Feb 2004; Michael Sterrett <mr_bones_@gentoo.org>
lletters-0.1.95-r1.ebuild, files/tellhow.h.gentoo:
diff --git a/games-kids/lletters/Manifest b/games-kids/lletters/Manifest
index d5900a85b4bc..4af0db8984c9 100644
--- a/games-kids/lletters/Manifest
+++ b/games-kids/lletters/Manifest
@@ -1,5 +1,5 @@
-MD5 7df7d316589c931a39dc581143666c2b ChangeLog 1729
-MD5 6cacbf4dec5ac2846d99a40122e518f3 lletters-0.1.95-r1.ebuild 1015
-MD5 a30c9d4ce8f9629d6d7323eaab258343 metadata.xml 241
+MD5 bc6ebf2a5141426e91e85720d0442296 ChangeLog 1865
+MD5 69d2c0fc9c06150018a2f6b24d645ca7 lletters-0.1.95-r1.ebuild 1242
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 a21b498ef02d981381f06d7e7ee0777b files/tellhow.h.gentoo 762
MD5 a259a5d00bd54dc2a2dc9905b28b808d files/digest-lletters-0.1.95-r1 141
diff --git a/games-kids/lletters/lletters-0.1.95-r1.ebuild b/games-kids/lletters/lletters-0.1.95-r1.ebuild
index 1c45e483cb45..800b7d13f6fd 100644
--- a/games-kids/lletters/lletters-0.1.95-r1.ebuild
+++ b/games-kids/lletters/lletters-0.1.95-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-kids/lletters/lletters-0.1.95-r1.ebuild,v 1.3 2004/02/13 04:10:17 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-kids/lletters/lletters-0.1.95-r1.ebuild,v 1.4 2004/03/06 01:19:01 mr_bones_ Exp $
inherit games
@@ -17,7 +17,11 @@ DEPEND="virtual/x11
media-libs/imlib
=x11-libs/gtk+-1.2*"
-RDEPEND="nls? ( sys-devel/gettext )"
+RDEPEND="${DEPEND}
+ nls? ( sys-devel/gettext )"
+
+DEPEND="${DEPEND}
+ >=sys-apps/sed-4"
IUSE="nls"
@@ -30,8 +34,12 @@ src_unpack() {
src_compile() {
egamesconf `use_enable nls` || die
+ # Work around the po/Makefile (bug #43762)
+ # Why don't people honor DESTDIR?
+ sed -i \
+ -e '/^prefix =/ s:/.*:$(DESTDIR)/usr:' po/Makefile \
+ || die "sed po/Makefile failed"
emake || die "emake failed"
-
}
src_install () {