summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2002-11-23 02:19:34 +0000
committerMarinus Schraal <foser@gentoo.org>2002-11-23 02:19:34 +0000
commit4ee70665a17f74aeeb48f2010cfc121754b75290 (patch)
treedd519b5f70e20cf5501ffe629a7aee881b67e72a /media-sound/glame
parentadded einfo lines and gdbm/berkdb confirmation to perl-5.6.1-r8 (diff)
downloadhistorical-4ee70665a17f74aeeb48f2010cfc121754b75290.tar.gz
historical-4ee70665a17f74aeeb48f2010cfc121754b75290.tar.bz2
historical-4ee70665a17f74aeeb48f2010cfc121754b75290.zip
nls fix
Diffstat (limited to 'media-sound/glame')
-rw-r--r--media-sound/glame/ChangeLog5
-rw-r--r--media-sound/glame/glame-0.6.3.ebuild14
2 files changed, 17 insertions, 2 deletions
diff --git a/media-sound/glame/ChangeLog b/media-sound/glame/ChangeLog
index 16bc380945a2..1636cd198f06 100644
--- a/media-sound/glame/ChangeLog
+++ b/media-sound/glame/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for media-sound/glame
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-sound/glame/ChangeLog,v 1.4 2002/11/18 16:37:34 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/glame/ChangeLog,v 1.5 2002/11/23 02:19:34 foser Exp $
*glame-0.6.3 (05 Aug 2002)
+ 22 Nov 2002; foser <foser@gentoo.org> glame-0.6.3.ebuild :
+ Add sed for removing NLS include (bug #7587)
+
18 Nov 2002; foser <foser@gentoo.org> glame-0.6.3.ebuild :
unset CFLAGS to fix possible problems with configure (bug #7587)
diff --git a/media-sound/glame/glame-0.6.3.ebuild b/media-sound/glame/glame-0.6.3.ebuild
index e40d1ee96206..157f76cc6c68 100644
--- a/media-sound/glame/glame-0.6.3.ebuild
+++ b/media-sound/glame/glame-0.6.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/glame/glame-0.6.3.ebuild,v 1.3 2002/11/18 16:37:34 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/glame/glame-0.6.3.ebuild,v 1.4 2002/11/23 02:19:34 foser Exp $
IUSE="nls gnome"
@@ -21,6 +21,18 @@ DEPEND=">=dev-util/guile-1.4-r3
RDEPEND="nls? ( sys-devel/gettext )"
+src_unpack() {
+ unpack ${A}
+
+ # fix NLS problem (bug #7587)
+ if [ ! "`use nls`" ]
+ then
+ cd ${S}/src/gui
+ mv swapfilegui.c swapfilegui.c.bad
+ sed -e "s:#include <libintl.h>::" swapfilegui.c.bad > swapfilegui.c
+ fi
+}
+
src_compile() {
if [ "`use gnome`" ]
then