summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Goller <morfic@gentoo.org>2005-04-24 00:35:19 +0000
committerDaniel Goller <morfic@gentoo.org>2005-04-24 00:35:19 +0000
commit4ec59daa8b2ea3a8278889265535a53416b7ae88 (patch)
tree700680d0a7eccfb7b9b09436712d0eee032e44bb /games-emulation/mupen64
parentfix for apple gcc-4.0 on ppc-macos (diff)
downloadhistorical-4ec59daa8b2ea3a8278889265535a53416b7ae88.tar.gz
historical-4ec59daa8b2ea3a8278889265535a53416b7ae88.tar.bz2
historical-4ec59daa8b2ea3a8278889265535a53416b7ae88.zip
adding amd64
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'games-emulation/mupen64')
-rw-r--r--games-emulation/mupen64/ChangeLog7
-rw-r--r--games-emulation/mupen64/files/mupen64-gtk2-makefile.patch12
-rw-r--r--games-emulation/mupen64/files/mupen64-makefiles.patch8
-rw-r--r--games-emulation/mupen64/mupen64-0.4-r2.ebuild17
4 files changed, 23 insertions, 21 deletions
diff --git a/games-emulation/mupen64/ChangeLog b/games-emulation/mupen64/ChangeLog
index f7f906db1a62..2684ebff22f5 100644
--- a/games-emulation/mupen64/ChangeLog
+++ b/games-emulation/mupen64/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-emulation/mupen64
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/mupen64/ChangeLog,v 1.13 2005/04/18 05:52:31 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mupen64/ChangeLog,v 1.14 2005/04/24 00:35:19 morfic Exp $
+
+ 23 Apr 2005; Daniel Goller <morfic@gentoo.org>
+ files/mupen64-gtk2-makefile.patch, files/mupen64-makefiles.patch,
+ mupen64-0.4-r2.ebuild:
+ adding amd64
18 Apr 2005; Michael Sterrett <mr_bones_@gentoo.org>
-mupen64-0.4-r1.ebuild:
diff --git a/games-emulation/mupen64/files/mupen64-gtk2-makefile.patch b/games-emulation/mupen64/files/mupen64-gtk2-makefile.patch
index 3e11e0a8f993..f79c4c01ef39 100644
--- a/games-emulation/mupen64/files/mupen64-gtk2-makefile.patch
+++ b/games-emulation/mupen64/files/mupen64-gtk2-makefile.patch
@@ -83,11 +83,11 @@ diff -ru work/hack_azi_rsp_hle/Makefile work.new/hack_azi_rsp_hle/Makefile
+++ hack_azi_rsp_hle/Makefile 2005-03-21 19:28:01.000000000 +0100
@@ -1,7 +1,7 @@
CC = gcc
--CFLAGS = -DUSE_GTK `gtk-config --cflags` -fPIC
-+CFLAGS = -DUSE_GTK `pkg-config gtk+-2.0 --cflags` -fPIC
+-CFLAGS = -fPIC -DUSE_GTK `gtk-config --cflags`
++CFLAGS = -fPIC -DUSE_GTK `pkg-config gtk+-2.0 --cflags`
CXX = g++
--CXXFLAGS = -DUSE_GTK `gtk-config --cflags` -fPIC
-+CXXFLAGS = -DUSE_GTK `pkg-config gtk+-2.0 --cflags` -fPIC
+-CXXFLAGS = -fPIC -DUSE_GTK `gtk-config --cflags`
++CXXFLAGS = -fPIC -DUSE_GTK `pkg-config gtk+-2.0 --cflags`
LD = g++
LDFLAGS =
@@ -117,8 +117,8 @@ diff -ru work/mupen64_sound/Makefile work.new/mupen64_sound/Makefile
+++ mupen64_sound/Makefile 2005-03-21 19:28:58.000000000 +0100
@@ -1,7 +1,7 @@
CC = gcc
--CFLAGS = `gtk-config --cflags` -DUSE_GTK
-+CFLAGS = `pkg-config gtk+-2.0 --cflags` -DUSE_GTK
+-CFLAGS = -fPIC `gtk-config --cflags` -DUSE_GTK
++CFLAGS = -fPIC `pkg-config gtk+-2.0 --cflags` -DUSE_GTK
LD = gcc
-LDFLAGS = -shared -Wl,-Bsymbolic `gtk-config --libs` -lpthread
+LDFLAGS = -shared -Wl,-Bsymbolic `pkg-config gtk+-2.0 --libs` -lpthread
diff --git a/games-emulation/mupen64/files/mupen64-makefiles.patch b/games-emulation/mupen64/files/mupen64-makefiles.patch
index a2a4e7f8f8f7..5da004d2e85e 100644
--- a/games-emulation/mupen64/files/mupen64-makefiles.patch
+++ b/games-emulation/mupen64/files/mupen64-makefiles.patch
@@ -27,7 +27,7 @@
-#CC =gcc -O3 -I/usr/X11R6/include -fPIC -fomit-frame-pointer -funroll-loops -ffast-math -mcpu=pentium -pipe
-#CC =gcc -O3 -mpentium -Wall -g -pg
-CC =gcc -O3 -fomit-frame-pointer -funroll-loops -ffast-math -mcpu=athlon -Wall -DUSE_GTK `gtk-config --cflags` -I/usr/X11R6/include -pipe
-+CC =gcc
++CC =gcc -fPIC
OBJ =main.o
@@ -38,10 +38,10 @@
-CFLAGS = -DUSE_GTK `gtk-config --cflags` -O3 -mcpu=athlon \
- -ffast-math -funroll-loops -fomit-frame-pointer
-#CFLAGS = -DUSE_GTK `gtk-config --cflags` -g -fPIC
-+CFLAGS = -DUSE_GTK `gtk-config --cflags` -fPIC
++CFLAGS = -fPIC -DUSE_GTK `gtk-config --cflags`
CXX = g++
-CXXFLAGS = $(CFLAGS)
-+CXXFLAGS = -DUSE_GTK `gtk-config --cflags` -fPIC
++CXXFLAGS = -fPIC -DUSE_GTK `gtk-config --cflags`
LD = g++
LDFLAGS =
@@ -50,7 +50,7 @@
@@ -1,5 +1,5 @@
CC = gcc
-CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -ffast-math -mcpu=athlon `gtk-config --cflags` -DUSE_GTK -Wall
-+CFLAGS = `gtk-config --cflags` -DUSE_GTK
++CFLAGS = -fPIC `gtk-config --cflags` -DUSE_GTK
LD = gcc
LDFLAGS = -shared -Wl,-Bsymbolic `gtk-config --libs` -lpthread
diff --git a/games-emulation/mupen64/mupen64-0.4-r2.ebuild b/games-emulation/mupen64/mupen64-0.4-r2.ebuild
index 2ac8f9bf65e9..8fd48594b03c 100644
--- a/games-emulation/mupen64/mupen64-0.4-r2.ebuild
+++ b/games-emulation/mupen64/mupen64-0.4-r2.ebuild
@@ -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/mupen64-0.4-r2.ebuild,v 1.1 2005/03/25 05:42:54 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mupen64/mupen64-0.4-r2.ebuild,v 1.2 2005/04/24 00:35:19 morfic Exp $
inherit games gcc eutils libtool
@@ -13,7 +13,7 @@ SRC_URI="http://mupen64.emulation64.com/files/${PV}/mupen64_src-${PV}.tar.bz2
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86"
+KEYWORDS="x86 ~amd64"
IUSE="avi gtk2 asm"
RDEPEND="sys-libs/zlib
@@ -41,16 +41,13 @@ src_unpack() {
use gtk2 && epatch "${FILESDIR}/${PN}-gtk2-makefile.patch"
use avi && epatch "${FILESDIR}/${PN}-gentoo-avi.patch"
- if use x86 ; then
- if ! use asm ; then
- epatch "${FILESDIR}/${PN}-noasm.patch"
- fi
+ if ! use asm ; then
+ epatch "${FILESDIR}/${PN}-noasm.patch"
fi
sed -i \
- -e "s:CFLAGS.*=\(.*\):CFLAGS=\1 ${CFLAGS}:" \
- -e "s:CXXFLAGS.*=\(.*\):CXXFLAGS=\1 ${CXXFLAGS}:" \
- */Makefile \
- || die "sed failed"
+ -e "s:CFLAGS.*=\(.*\):CFLAGS=\1 -fPIC ${CFLAGS}:" \
+ -e "s:CXXFLAGS.*=\(.*\):CXXFLAGS=\1 -fPIC ${CXXFLAGS}:" \
+ */Makefile || die "sed failed"
}
src_compile() {