diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-06-29 16:17:57 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-06-29 16:17:57 +0000 |
commit | cf810a7abc2e5fa2f91102a745724f9a21c7dbe6 (patch) | |
tree | 7c4217295d8fe5578d9aeda3dae3a337bdbf37af /games-puzzle | |
parent | Fixed binaries being pre-stripped. Thanks to Tristan Heaven <tristanheaven@g... (diff) | |
download | gentoo-2-cf810a7abc2e5fa2f91102a745724f9a21c7dbe6.tar.gz gentoo-2-cf810a7abc2e5fa2f91102a745724f9a21c7dbe6.tar.bz2 gentoo-2-cf810a7abc2e5fa2f91102a745724f9a21c7dbe6.zip |
Fixed binaries being pre-stripped. Thanks to Tristan Heaven <tristanheaven@gmail.com> for the patch. Closing bug #137735.
(Portage version: 2.1.1_pre1-r2)
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/xbomb/ChangeLog | 6 | ||||
-rw-r--r-- | games-puzzle/xbomb/xbomb-2.1-r1.ebuild | 14 |
2 files changed, 11 insertions, 9 deletions
diff --git a/games-puzzle/xbomb/ChangeLog b/games-puzzle/xbomb/ChangeLog index 26ca1507f7e1..3b02c73f353b 100644 --- a/games-puzzle/xbomb/ChangeLog +++ b/games-puzzle/xbomb/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-puzzle/xbomb # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xbomb/ChangeLog,v 1.8 2006/02/17 22:35:49 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xbomb/ChangeLog,v 1.9 2006/06/29 16:17:57 wolf31o2 Exp $ + + 29 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org> xbomb-2.1-r1.ebuild: + Fixed binaries being pre-stripped. Thanks to Tristan Heaven + <tristanheaven@gmail.com> for the patch. Closing bug #137735. 17 Feb 2006; <Tupone@gentoo.org> xbomb-2.1-r1.ebuild: Modular X dependency fix diff --git a/games-puzzle/xbomb/xbomb-2.1-r1.ebuild b/games-puzzle/xbomb/xbomb-2.1-r1.ebuild index cacc5def72af..dff32a5c9fb5 100644 --- a/games-puzzle/xbomb/xbomb-2.1-r1.ebuild +++ b/games-puzzle/xbomb/xbomb-2.1-r1.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-puzzle/xbomb/xbomb-2.1-r1.ebuild,v 1.13 2006/02/17 22:35:49 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xbomb/xbomb-2.1-r1.ebuild,v 1.14 2006/06/29 16:17:57 wolf31o2 Exp $ inherit eutils games @@ -19,12 +19,13 @@ src_unpack() { unpack ${A} epatch "${FILESDIR}"/${P}.diff sed -i \ + -e '/strip/d' \ -e "/^CFLAGS/ { s:=.*:=${CFLAGS}: }" \ -e "s:/usr/bin:${GAMES_BINDIR}:" \ "${S}"/Makefile \ || die "sed Makefile failed" sed -i \ - -e "s:/var/tmp:/var/games:g" \ + -e "s:/var/tmp:${GAMES_STATEDIR}/${PN}:g" \ "${S}"/hiscore.c \ || die "sed hiscore.c failed" } @@ -32,11 +33,8 @@ src_unpack() { src_install() { make DESTDIR="${D}" install || die "make install failed" dodoc README LSM - # FIXME: need to use GAMES_STATEDIR here - dodir /var/games - touch ${D}/var/games/xbomb{3,4,6}.hi || die "touch failed" - fperms 664 /var/games/xbomb{3,4,6}.hi || die - - prepall + dodir "${GAMES_STATEDIR}"/${PN} + touch "${D}/${GAMES_STATEDIR}"/${PN}/${PN}{3,4,6}.hi || die "touch failed" + fperms 660 "${GAMES_STATEDIR}"/${PN}/${PN}{3,4,6}.hi || die "fperms failed" prepgamesdirs } |