summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-01-30 06:55:07 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-01-30 06:55:07 +0000
commita690e0d18aaa39e4543ac839ede05eeb5c5ac2d2 (patch)
treee9219acc71c62157acfd87d5b3c7b1f45542976e /games-emulation/psemu-spunull
parentEAPI=2; respect CC (diff)
downloadgentoo-2-a690e0d18aaa39e4543ac839ede05eeb5c5ac2d2.tar.gz
gentoo-2-a690e0d18aaa39e4543ac839ede05eeb5c5ac2d2.tar.bz2
gentoo-2-a690e0d18aaa39e4543ac839ede05eeb5c5ac2d2.zip
EAPI=2; respect CC
(Portage version: 2.1.6.4/cvs/Linux 2.6.28.1 i686)
Diffstat (limited to 'games-emulation/psemu-spunull')
-rw-r--r--games-emulation/psemu-spunull/ChangeLog8
-rw-r--r--games-emulation/psemu-spunull/psemu-spunull-1.0.ebuild15
2 files changed, 15 insertions, 8 deletions
diff --git a/games-emulation/psemu-spunull/ChangeLog b/games-emulation/psemu-spunull/ChangeLog
index bcbda5ab52a1..fbf9fb14c594 100644
--- a/games-emulation/psemu-spunull/ChangeLog
+++ b/games-emulation/psemu-spunull/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-emulation/psemu-spunull
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-spunull/ChangeLog,v 1.4 2007/02/09 07:47:47 flameeyes Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-spunull/ChangeLog,v 1.5 2009/01/30 06:55:07 mr_bones_ Exp $
+
+ 30 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ psemu-spunull-1.0.ebuild:
+ EAPI=2; respect CC
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/games-emulation/psemu-spunull/psemu-spunull-1.0.ebuild b/games-emulation/psemu-spunull/psemu-spunull-1.0.ebuild
index eb6460c9acfa..6e1eaae9eac9 100644
--- a/games-emulation/psemu-spunull/psemu-spunull-1.0.ebuild
+++ b/games-emulation/psemu-spunull/psemu-spunull-1.0.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-spunull/psemu-spunull-1.0.ebuild,v 1.5 2007/04/09 17:28:43 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-spunull/psemu-spunull-1.0.ebuild,v 1.6 2009/01/30 06:55:07 mr_bones_ Exp $
+EAPI=2
inherit eutils games
DESCRIPTION="PSEmu plugin to use a null sound driver"
@@ -15,14 +16,16 @@ IUSE=""
S=${WORKDIR}
-src_unpack() {
- unpack ${A}
+src_prepare() {
epatch "${FILESDIR}"/${PV}-makefile-cflags.patch
+ sed -i \
+ -e 's/gcc/$(CC)/' \
+ src/Makefile \
+ || die "sed failed"
}
src_compile() {
- cd src
- emake OPTFLAGS="${CFLAGS}" || die "emake failed"
+ emake -C src OPTFLAGS="${CFLAGS}" || die "emake failed"
}
src_install() {