diff options
author | olgeni <olgeni@FreeBSD.org> | 2001-08-03 21:21:21 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2001-08-03 21:21:21 +0800 |
commit | e40012ebd1d9f413138ef33b8d1f294778eec98b (patch) | |
tree | b1d38b41970427224d0733508314c77f65ffe5bf /emulators | |
parent | ac4a45806169d8c71db7eea855d46077d63619d5 (diff) | |
download | freebsd-ports-gnome-e40012ebd1d9f413138ef33b8d1f294778eec98b.tar.gz freebsd-ports-gnome-e40012ebd1d9f413138ef33b8d1f294778eec98b.tar.zst freebsd-ports-gnome-e40012ebd1d9f413138ef33b8d1f294778eec98b.zip |
Update CPS2 patches to 2001/07/11, and disable optimization by default.
PR: 29409
Submitted by: maintainer
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/xmame/Makefile | 21 | ||||
-rw-r--r-- | emulators/xmame/distinfo | 2 |
2 files changed, 14 insertions, 9 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile index 061be02a6dbb..5c7796397e39 100644 --- a/emulators/xmame/Makefile +++ b/emulators/xmame/Makefile @@ -92,12 +92,10 @@ ALLDOCS= ${GENERALDOCS} ${PINMAMEDOCS} # CPS-2 patches - this enables extra games in MAME. .if ${MAMEMESS} == "mame" .if defined(WITH_CPS2) && ${WITH_CPS2} == "yes" -# CPS2VERSION= 20010527 +CPS2VERSION= 20010711 -# PATCH_SITES+= http://www.win.tue.nl/~stijn/xmame/ -# PATCHFILES+= ${DISTNAME}-cps2-${CPS2VERSION}.patch.gz -pre-everything:: - @${ECHO_MSG} "===> Warning: CPS2 patches temporarily unavailable" +PATCH_SITES+= http://www.win.tue.nl/~stijn/xmame/ +PATCHFILES+= ${DISTNAME}-cps2-${CPS2VERSION}.patch.gz .else pre-everything:: @${ECHO_MSG} "===> If you want to compile MAME with CPS-2 support, use \"make WITH_CPS2=yes\"" @@ -143,12 +141,19 @@ ASM_COMMENT= ASM_COMMENT=\# .endif -# Heavy optimization - enabled by default because it doesn't seem -# to break things, and enables considerable speedup. -.if !defined(WITH_OPTIMIZATION) || ${WITH_OPTIMIZATION} != "no" +# Heavy optimization - disabled by default because it breaks things. It's +# still available because it enables considerable speedup. +.if defined(WITH_OPTIMIZATION) && ${WITH_OPTIMIZATION} == "yes" CFLAGS+= -O3 -Wall -Wno-unused -funroll-loops \ -fstrength-reduce -fomit-frame-pointer -ffast-math \ -malign-functions=4 -malign-jumps=4 -malign-loops=4 +.else +.if !defined(WITH_OPTIMIZATION) +pre-everything:: + @${ECHO_MSG} "===> If you want to enable high optimization levels, use " + @${ECHO_MSG} " \"make WITH_OPTIMIZATION=yes\". Be warned that this is known to" + @${ECHO_MSG} " break some games though." +.endif .endif # Choose one of several display targets: diff --git a/emulators/xmame/distinfo b/emulators/xmame/distinfo index 9bbf230f33b9..05542677a229 100644 --- a/emulators/xmame/distinfo +++ b/emulators/xmame/distinfo @@ -4,5 +4,5 @@ MD5 (xmame/xmame-0.37b16.1.tar.bz2) = 07c2d333f56f4d06b2c28315670612bb MD5 (xmame/cheat.zip) = dc380436c04780950cee07d3e31bfb0b MD5 (xmame/history.zip) = 69da5c33e6a78092c6cd75cbeb737c6a MD5 (xmame/hsdat7.zip) = 9e4a7e36448895f13128a675327e34e4 -MD5 (xmame/xmame-0.37b15.1-cps2-20010527.patch.gz) = 2f469fd33150fae1e871dfb8b5964b53 +MD5 (xmame/xmame-0.37b16.1-cps2-20010711.patch.gz) = 2c64e9ab3fc49b9c7adea1e97001c126 MD5 (xmame/xmame-0.37b14.2-pinmame-0.99b3.patch.gz) = aeefd4f6593d389cddbb7081cfc4eb42 |