From 695b2ef5fe0bdf78bcb1535c0734fce893b38b90 Mon Sep 17 00:00:00 2001
From: Michael Sterrett <mr_bones_@gentoo.org>
Date: Fri, 23 Jun 2006 05:17:17 +0000
Subject: skip trying to strip the prestripped binaries (bug #137662) (Portage
 version: 2.1.1_pre1-r1)

---
 games-action/phobiaiii/phobiaiii-1.0-r2.ebuild | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

(limited to 'games-action/phobiaiii/phobiaiii-1.0-r2.ebuild')

diff --git a/games-action/phobiaiii/phobiaiii-1.0-r2.ebuild b/games-action/phobiaiii/phobiaiii-1.0-r2.ebuild
index 155d59518673..dd45dda1823e 100644
--- a/games-action/phobiaiii/phobiaiii-1.0-r2.ebuild
+++ b/games-action/phobiaiii/phobiaiii-1.0-r2.ebuild
@@ -1,18 +1,18 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/phobiaiii/phobiaiii-1.0-r2.ebuild,v 1.3 2006/01/28 21:19:10 joshuabaergen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/phobiaiii/phobiaiii-1.0-r2.ebuild,v 1.4 2006/06/23 05:17:17 mr_bones_ Exp $
 
 inherit games
 
-S="${WORKDIR}/phobia3"
 DESCRIPTION="Just a moment ago, you were safe inside your ship, behind five inch armour"
 HOMEPAGE="http://www.lynxlabs.com/phobiaIII/"
 SRC_URI="ftp://ftp.edome.net/demot/actionpelit/phobia3-linux.tar.bz2"
 
-KEYWORDS="-* x86"
 LICENSE="as-is"
 SLOT="0"
+KEYWORDS="-* x86"
 IUSE=""
+RESTRICT="strip"
 
 DEPEND=""
 RDEPEND="kde-base/arts
@@ -26,19 +26,21 @@ RDEPEND="kde-base/arts
 	media-libs/libsdl
 	media-libs/smpeg"
 
+S=${WORKDIR}/phobia3
+
 src_unpack() {
 	unpack ${A}
 	rm -rf "${S}/src"
 }
 
 src_install() {
-	dogamesbin "${FILESDIR}/phobiaIII"
+	dogamesbin "${FILESDIR}/phobiaIII" || die "dogamesbin failed"
 	if has_version '<sys-libs/glibc-2.3.2' ; then
 		dosed '/LD_PRELOAD/s:.*::' "${GAMES_BINDIR}/phobiaIII"
 	fi
 	dodir "${GAMES_PREFIX_OPT}/${PN}"
 	cp -r [a-z]* "${D}/${GAMES_PREFIX_OPT}/${PN}/" || die "cp failed"
-	dodoc README || die "dodoc failed"
+	dodoc README
 
 	prepgamesdirs
 	# wants to write hiscores and config to this directory.
-- 
cgit v1.2.3-65-gdbad