summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-action/abuse_sdl/ChangeLog5
-rw-r--r--games-action/abuse_sdl/abuse_sdl-0.7.0-r3.ebuild7
2 files changed, 9 insertions, 3 deletions
diff --git a/games-action/abuse_sdl/ChangeLog b/games-action/abuse_sdl/ChangeLog
index e1503c7d2fc5..5f658e735a8d 100644
--- a/games-action/abuse_sdl/ChangeLog
+++ b/games-action/abuse_sdl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-action/abuse_sdl
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/abuse_sdl/ChangeLog,v 1.13 2007/05/19 09:04:10 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/abuse_sdl/ChangeLog,v 1.14 2007/05/19 11:24:53 tupone Exp $
+
+ 19 May 2007; Tupone Alfredo <tupone@gentoo.org> abuse_sdl-0.7.0-r3.ebuild:
+ Fixed path on configuration file. bug #155617 by Pacho Ramos
*abuse_sdl-0.7.0-r3 (19 May 2007)
diff --git a/games-action/abuse_sdl/abuse_sdl-0.7.0-r3.ebuild b/games-action/abuse_sdl/abuse_sdl-0.7.0-r3.ebuild
index a3a19b732202..ca458e33d920 100644
--- a/games-action/abuse_sdl/abuse_sdl-0.7.0-r3.ebuild
+++ b/games-action/abuse_sdl/abuse_sdl-0.7.0-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/abuse_sdl/abuse_sdl-0.7.0-r3.ebuild,v 1.1 2007/05/19 09:04:10 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/abuse_sdl/abuse_sdl-0.7.0-r3.ebuild,v 1.2 2007/05/19 11:24:53 tupone Exp $
inherit eutils games
@@ -31,9 +31,12 @@ src_unpack() {
cd ${DATA}
unpack abuse_datafiles.tar.gz
- # hard-coded path in the default config writer.
cd "${S}"
epatch ../${PN}-patch/*
+ sed -i -e "s:/var/games:${GAMES_DATADIR}:" \
+ src/sdlport/setup.cpp
+
+ # hard-coded path in the default config writer.
sed -i \
-e "s:/usr/local/share/games/abuse:${GAMES_DATADIR}/abuse:" \
src/sdlport/setup.cpp || die "sed src/sdlport/setup.cpp failed"