More fixes
authorDaniel Goller <morfic@gentoo.org>
Mon, 10 Jan 2005 01:06:40 +0000 (01:06 +0000)
committerDaniel Goller <morfic@gentoo.org>
Mon, 10 Jan 2005 01:06:40 +0000 (01:06 +0000)
games-emulation/mupen64-glide64/ChangeLog
games-emulation/mupen64-glide64/Manifest
games-emulation/mupen64-glide64/mupen64-glide64-0.7.ebuild

index c7dccbd890208a9d2280604d1c6838eb9cc98835..cfad50973e462460c13851ef524c85c1d79009e3 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for games-emulation/mupen64-glide64
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/mupen64-glide64/ChangeLog,v 1.3 2005/01/08 00:49:56 morfic Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mupen64-glide64/ChangeLog,v 1.4 2005/01/10 01:06:40 morfic Exp $
+
+  09 Jan 2005; Daniel Goller <morfic@gentoo.org> mupen64-glide64-0.7.ebuild:
+  More fixes with paths
 
   07 Jan 2005; Daniel Goller <morfic@gentoo.org>
   files/mupen64-glide64-0.7-gtk2.patch,
index 0874110e2657280bb326ecaef07bb3af5fbaf687..1284fa9e4b8a54084ed3c8d9507bbcaaf4d70cb1 100644 (file)
@@ -1,8 +1,8 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 081b8b081441a711e53f509e2279bcfe mupen64-glide64-0.7.ebuild 1162
-MD5 57a910be8dd6d508fae4f748cebb1b22 ChangeLog 826
+MD5 34ba843f371c017db60da30874de56fd mupen64-glide64-0.7.ebuild 1225
+MD5 e2215a347ff472c3385f85531909aabf ChangeLog 928
 MD5 a3e62bf537d9a02609601aa9ba76da7e metadata.xml 247
 MD5 2f68b9e4d03102e87c1b845f4112b051 files/mupen64-glide64-0.7-compile.patch 4677
 MD5 791bcffd2d51c09bb816d5449bf5ca91 files/mupen64-glide64-0.7-gtk2.patch 1544
@@ -11,7 +11,7 @@ MD5 b64d5727662ec96a6a14bf92476c74a5 files/mupen64-glide64-0.7-inifix.patch 1801
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.6 (GNU/Linux)
 
-iD8DBQFB3y55UpKYMelfdYERAqJWAJ4rDrCOiXLoCUh14YDxahIYBk9poACcDt5V
-5Jw4f1Skmo4IEc8op/Fyjyw=
-=Bh+p
+iD8DBQFB4dVoUpKYMelfdYERApK5AJ99LEYOJz9qfA1uTzLrR/X6KZoIDwCeMa9h
+NbpaiNetooG5wnZfY1iQGc8=
+=GwNP
 -----END PGP SIGNATURE-----
index 84a80c94c2163b921a8ea98f28f34e622e8572bb..ad87e4bee293fc04eabda0ed2288c87de5a0cd40 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/mupen64-glide64/mupen64-glide64-0.7.ebuild,v 1.2 2005/01/08 00:49:56 morfic Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mupen64-glide64/mupen64-glide64-0.7.ebuild,v 1.3 2005/01/10 01:06:40 morfic Exp $
 
 inherit games flag-o-matic
 
@@ -17,16 +17,26 @@ DEPEND=""
 
 S="${WORKDIR}/glide64_0_7_ME"
 
-src_compile() {
-       # gcc 3.4 at least has a problem with -O3 and inline asm
-       replace-flags -O3 -O2
+src_unpack() {
+       unpack ${A}
+
+       cd ${S}
+
        epatch ${FILESDIR}/${P}-compile.patch || die "patch failed"
        epatch ${FILESDIR}/${P}-inifix.patch || die "patch failed"
        use gtk2 && epatch ${FILESDIR}/${P}-gtk2.patch || die "patch failed"
 
        make clean || die "couldn't clean"
+
+       # gcc 3.4 at least has a problem with -O3 and inline asm
+       replace-flags -O3 -O2
        sed -i -e "s:CFLAGS.*=\(.*\):CFLAGS=\1 ${CFLAGS}:" Makefile ||  \
                die "couldn't apply cflags"
+
+}
+
+src_compile() {
+       # doesnt like -j2
        make || die "couldn't compile"
 }