summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@gentoo.org>2007-01-29 21:56:51 +0000
committerTimothy Redaelli <drizzt@gentoo.org>2007-01-29 21:56:51 +0000
commit4f71dd2d6719dfe833085cb4cba5e7e50ceec0a0 (patch)
tree40475f8077cb02d7ccfe46a758737fcd21b66ee4 /games-emulation
parentMake it build with openpam; bug #163748 (diff)
downloadgentoo-2-4f71dd2d6719dfe833085cb4cba5e7e50ceec0a0.tar.gz
gentoo-2-4f71dd2d6719dfe833085cb4cba5e7e50ceec0a0.tar.bz2
gentoo-2-4f71dd2d6719dfe833085cb4cba5e7e50ceec0a0.zip
Remove -s from CFLAGS
(Portage version: 2.1.2-r4)
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/zsnes/ChangeLog5
-rw-r--r--games-emulation/zsnes/zsnes-1.51.ebuild7
2 files changed, 8 insertions, 4 deletions
diff --git a/games-emulation/zsnes/ChangeLog b/games-emulation/zsnes/ChangeLog
index 0c4ab638d6a3..2d64f750521b 100644
--- a/games-emulation/zsnes/ChangeLog
+++ b/games-emulation/zsnes/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-emulation/zsnes
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/zsnes/ChangeLog,v 1.25 2007/01/29 21:15:39 drizzt Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/zsnes/ChangeLog,v 1.26 2007/01/29 21:56:51 drizzt Exp $
+
+ 29 Jan 2007; Timothy Redaelli <drizzt@gentoo.org> zsnes-1.51.ebuild:
+ Remove -s from CFLAGS
29 Jan 2007; Timothy Redaelli <drizzt@gentoo.org> zsnes-1.51.ebuild:
oops
diff --git a/games-emulation/zsnes/zsnes-1.51.ebuild b/games-emulation/zsnes/zsnes-1.51.ebuild
index f07c29018ecc..1f14a76da6e1 100644
--- a/games-emulation/zsnes/zsnes-1.51.ebuild
+++ b/games-emulation/zsnes/zsnes-1.51.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-emulation/zsnes/zsnes-1.51.ebuild,v 1.3 2007/01/29 21:15:39 drizzt Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/zsnes/zsnes-1.51.ebuild,v 1.4 2007/01/29 21:56:51 drizzt Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
@@ -50,6 +50,7 @@ src_unpack() {
strip-flags
fi
sed -i \
+ -e 's:^\s*STRIP="-s":STRIP="":' \
-e 's:^\s*CFLAGS=.* -I\/usr\/local\/include .*$:CFLAGS="${CFLAGS} -I.":' \
-e '/^\s*LDFLAGS=.* -L\/usr\/local\/lib /d' \
configure.in || die
@@ -84,8 +85,8 @@ src_compile() {
src_install() {
dogamesbin zsnes || die "dogamesbin failed"
newman linux/zsnes.1 zsnes.6
- dodoc "${WORKDIR}"/docs/{*.txt,README.LINUX}
- dohtml -r "${WORKDIR}"/docs/Linux/*
+ dodoc ../docs/{*.txt,README.LINUX}
+ dohtml -r ../docs/Linux/*
make_desktop_entry zsnes ZSNES zsnes.png
doicon "${T}/${PN}.png"
prepgamesdirs