summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2003-09-14 08:55:39 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2003-09-14 08:55:39 +0000
commita5142661c2ea0f5d81020678c8432563c170689f (patch)
tree36e3c4302b9d45296b733ce7f553f6605bf8b55b /games-emulation/gens
parentrepoman: trim trailing whitespace (diff)
downloadhistorical-a5142661c2ea0f5d81020678c8432563c170689f.tar.gz
historical-a5142661c2ea0f5d81020678c8432563c170689f.tar.bz2
historical-a5142661c2ea0f5d81020678c8432563c170689f.zip
added RDEPEND; fix things up for >=nasm-0.98.37
Diffstat (limited to 'games-emulation/gens')
-rw-r--r--games-emulation/gens/ChangeLog5
-rw-r--r--games-emulation/gens/Manifest4
-rw-r--r--games-emulation/gens/gens-2.12.ebuild21
3 files changed, 22 insertions, 8 deletions
diff --git a/games-emulation/gens/ChangeLog b/games-emulation/gens/ChangeLog
index 723988275521..b81725625c79 100644
--- a/games-emulation/gens/ChangeLog
+++ b/games-emulation/gens/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-emulation/gens
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/gens/ChangeLog,v 1.2 2003/09/10 15:58:11 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gens/ChangeLog,v 1.3 2003/09/14 08:55:37 msterret Exp $
+
+ 14 Sep 2003; Michael Sterrett <msterret@gentoo.org> gens-2.12.ebuild:
+ added RDEPEND for the run dependencies; fix things up for >=nasm-0.98.37
*gens-2.12 (01 Aug 2003)
diff --git a/games-emulation/gens/Manifest b/games-emulation/gens/Manifest
index f6b83088205c..54baa40a04e7 100644
--- a/games-emulation/gens/Manifest
+++ b/games-emulation/gens/Manifest
@@ -1,3 +1,3 @@
+MD5 56d5ce605836052620855562a8beecdd ChangeLog 549
+MD5 ddd2015722e6c6ca7688b593cf1b1f13 gens-2.12.ebuild 1379
MD5 efe989e52031e5386fc937649c0fdffa files/digest-gens-2.12 62
-MD5 b1cae7d5677cd44f1290269c9f7221b5 gens-2.12.ebuild 991
-MD5 a916de9f43b875234c69e203897aada3 ChangeLog 399
diff --git a/games-emulation/gens/gens-2.12.ebuild b/games-emulation/gens/gens-2.12.ebuild
index 1f7ebfe5c25c..0fe541bcd338 100644
--- a/games-emulation/gens/gens-2.12.ebuild
+++ b/games-emulation/gens/gens-2.12.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/gens/gens-2.12.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gens/gens-2.12.ebuild,v 1.2 2003/09/14 08:55:37 msterret Exp $
inherit games
@@ -13,12 +13,14 @@ KEYWORDS="x86"
SLOT="0"
IUSE=""
-DEPEND=">=media-libs/libsdl-1.2
- app-arch/unzip
- >=dev-lang/nasm-0.98
- >=sys-apps/sed-4
+RDEPEND=">=media-libs/libsdl-1.2
>=x11-libs/gtk+-2.0*"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4
+ app-arch/unzip
+ >=dev-lang/nasm-0.98"
+
src_unpack() {
unpack ${A}
cd ${S}
@@ -30,6 +32,15 @@ src_unpack() {
sed -i \
-e "s:\./resource:${GAMES_DATADIR}/${P}:" g_main_dummy.cpp || \
die "sed g_main_dummy.cpp failed"
+
+ # Starting with nasm-0.98.37, -O3 is no longer an alias for -O15
+ # the nasm devs recommend either not using -O or using -O999 since
+ # nasm will stop after no more optimizations are possible.
+ #
+ # This fix is for the asm files in gens that need more than 3 passes
+ # and fail with the new releases of nasm.
+ sed -i \
+ -e '/^NASMFLAGS=/ s:-O3:-O999:' Makefile
}
src_install () {