summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-05-02 02:58:51 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-05-02 02:58:51 +0000
commit278af98d7ccce53a0d14b766fb0852e035a458ea (patch)
tree0d4e55b4170b765875da106da3da229b3591ca8a /games-sports
parentStable on SPARC. (diff)
downloadgentoo-2-278af98d7ccce53a0d14b766fb0852e035a458ea.tar.gz
gentoo-2-278af98d7ccce53a0d14b766fb0852e035a458ea.tar.bz2
gentoo-2-278af98d7ccce53a0d14b766fb0852e035a458ea.zip
fix install path with sed patch from nyhm (bug #130513)
(Portage version: 2.1_pre10-r2)
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/ultimatestunts/ChangeLog6
-rw-r--r--games-sports/ultimatestunts/ultimatestunts-0.6.1.ebuild21
2 files changed, 23 insertions, 4 deletions
diff --git a/games-sports/ultimatestunts/ChangeLog b/games-sports/ultimatestunts/ChangeLog
index 2c38fb74c685..7a050e686d13 100644
--- a/games-sports/ultimatestunts/ChangeLog
+++ b/games-sports/ultimatestunts/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-sports/ultimatestunts
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ChangeLog,v 1.4 2006/04/27 17:40:30 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ChangeLog,v 1.5 2006/05/02 02:58:51 mr_bones_ Exp $
+
+ 02 May 2006; Michael Sterrett <mr_bones_@gentoo.org>
+ -ultimatestunts-0.6.0.ebuild, ultimatestunts-0.6.1.ebuild:
+ fix install path with sed patch from nyhm (bug #130513)
27 Apr 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+files/ultimatestunts-0.6.1-gcc41.patch, ultimatestunts-0.6.1.ebuild:
diff --git a/games-sports/ultimatestunts/ultimatestunts-0.6.1.ebuild b/games-sports/ultimatestunts/ultimatestunts-0.6.1.ebuild
index 1f0261f88fe1..54a73e3f0ede 100644
--- a/games-sports/ultimatestunts/ultimatestunts-0.6.1.ebuild
+++ b/games-sports/ultimatestunts/ultimatestunts-0.6.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ultimatestunts-0.6.1.ebuild,v 1.3 2006/04/27 17:40:30 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ultimatestunts-0.6.1.ebuild,v 1.4 2006/05/02 02:58:51 mr_bones_ Exp $
inherit eutils versionator games
@@ -46,8 +46,16 @@ src_unpack() {
-e '302,306s#${usdatadir}#$(DESTDIR)${usdatadir}#' \
data/Makefile.in \
|| die "sed failed"
- epatch "${FILESDIR}/${P}"-64bits.patch
- epatch "${FILESDIR}/${P}"-gcc41.patch
+
+ #fix up install paths (bug #130513)
+ sed -i \
+ -e "s:\${prefix}/share/ultimatestunts/:${GAMES_DATADIR}/ultimatestunts/:" \
+ configure \
+ || die "sed failed"
+
+ epatch \
+ "${FILESDIR}/${P}"-64bits.patch \
+ "${FILESDIR}/${P}"-gcc41.patch
}
src_install() {
@@ -57,3 +65,10 @@ src_install() {
prepgamesdirs
}
+pkg_postinst() {
+ games_pkg_postinst
+ echo
+ einfo "Please update or remove ~/.ultimatestunts/ultimatestunts.conf"
+ einfo "if you have it to update the path for the data files."
+ echo
+}