diff options
author | Mike Frysinger <vapier@gentoo.org> | 2002-10-01 04:43:35 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2002-10-01 04:43:35 +0000 |
commit | 4637e013bf8550f7a1f9e8718689f8dc7967a587 (patch) | |
tree | 89e6f05ffa1b491575e53bc2cc4effef41f80a05 /app-emulation/basiliskII | |
parent | version bump + security fix (diff) | |
download | gentoo-2-4637e013bf8550f7a1f9e8718689f8dc7967a587.tar.gz gentoo-2-4637e013bf8550f7a1f9e8718689f8dc7967a587.tar.bz2 gentoo-2-4637e013bf8550f7a1f9e8718689f8dc7967a587.zip |
Fixes for #4104
Diffstat (limited to 'app-emulation/basiliskII')
-rw-r--r-- | app-emulation/basiliskII/ChangeLog | 5 | ||||
-rw-r--r-- | app-emulation/basiliskII/basiliskII-0.9.0.ebuild | 13 |
2 files changed, 16 insertions, 2 deletions
diff --git a/app-emulation/basiliskII/ChangeLog b/app-emulation/basiliskII/ChangeLog index 51e42eaa4bf4..3ff2bd4af64e 100644 --- a/app-emulation/basiliskII/ChangeLog +++ b/app-emulation/basiliskII/ChangeLog @@ -1,9 +1,12 @@ # ChangeLog for app-emulation/basiliskII # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-emulation/basiliskII/ChangeLog,v 1.3 2002/08/19 17:57:04 cybersystem Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/basiliskII/ChangeLog,v 1.4 2002/10/01 04:43:35 vapier Exp $ *basiliskII-0.9.0 (19 August 2002) + 01 Oct 2002; Mike Frysinger <vapier@gentoo.org> basiliskII-0.9.0.ebuild : + Added small hack to link against libstdc++ for gcc3.x compatibility and dropped max optimization to -O2 + 19 August 2002; Sascha Schwabbauer <cybersystem@gentoo.org> ChangeLog, basiliskII-0.9.0.ebuild : Added -ppc to the keywords. diff --git a/app-emulation/basiliskII/basiliskII-0.9.0.ebuild b/app-emulation/basiliskII/basiliskII-0.9.0.ebuild index 923ef142d5d6..fecdb0755f4d 100644 --- a/app-emulation/basiliskII/basiliskII-0.9.0.ebuild +++ b/app-emulation/basiliskII/basiliskII-0.9.0.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/basiliskII/basiliskII-0.9.0.ebuild,v 1.4 2002/08/19 17:57:04 cybersystem Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/basiliskII/basiliskII-0.9.0.ebuild,v 1.5 2002/10/01 04:43:35 vapier Exp $ + +inherit flag-o-matic ### This package requires a Mac II/Classic ROM, A Mac OS Image ### Mac OS 7.5.3r2 is available freely from the Apple Homepage @@ -28,6 +30,9 @@ SRC_URI="http://iphcip1.physik.uni-mainz.de/~cbauer/BasiliskII_src_31052001.tar. src_compile() { + #fpu_x86 doesnt compile properly if -O3 or greater :( + replace-flags "-O*" "-O2" + local myflags ### Default ./configure options are all =yes by default. we'll check for @@ -45,6 +50,12 @@ src_compile() { --infodir=/usr/share/info \ --mandir=/usr/share/man \ ${myflags} || die "BasiliskII ./configure Failed" + + #hack to link against libstdc++ for gcc3.x compatibility + cp Makefile Makefile.old + sed -e 's:-o $(OBJ_DIR)/gencpu:-lstdc++ -o $(OBJ_DIR)/gencpu:' \ + Makefile.old > Makefile + emake || die "BasiliskII Make Failed" } |