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
commitb16a77c8fdfc8f697c47c0472023f9a3b2ae5aa0 (patch)
treeb429dcb7a9755b9b1cd742da0a871c540371f74f /games-kids/lletters
parentheader fix; error messages (Manifest recommit) (diff)
downloadgentoo-2-b16a77c8fdfc8f697c47c0472023f9a3b2ae5aa0.tar.gz
gentoo-2-b16a77c8fdfc8f697c47c0472023f9a3b2ae5aa0.tar.bz2
gentoo-2-b16a77c8fdfc8f697c47c0472023f9a3b2ae5aa0.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/lletters-0.1.95-r1.ebuild14
2 files changed, 16 insertions, 4 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/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 () {