1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/emulators/xmess/files/patch-ba
Chris D. Faulhaber 9489c320c5 Xmess is a game console emulator which currently supports the
Nintendo Entertainment System (NES), Sega Genesis/Megadrive,
TRS-80 models 1 and 3, Colour Genie, Colecovision, Vectrex,
Apple ][ series, Atari 800, Atari 5200, Sega Master System/Game
Gear, Bally Astrocade, Kaypro 2x and PDP-1.

PR:		13201
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de>
1999-12-24 14:01:14 +00:00

27 lines
867 B
Plaintext

Index: makefile.unix
@@ -249,9 +249,9 @@
######## Alpha/Linux
# ARCH = linux_alpha
######## ix86/Linux
-ARCH = linux_i386
+# ARCH = linux_i386
######## ix86/FreeBSD and ix86/BSDi
-# ARCH = FREEBSD
+ARCH = FREEBSD
######## ix86/NetBSD
# ARCH = netbsd_i386
######## Sparc/SunOS ( no sound )
@@ -287,7 +287,12 @@
DEFS.linux_powerpc = -Dlinux -DACORN
DEFS.linux_alpha = -Dlinux -DLSB_FIRST -DAXP_ASM -DACORN
DEFS.linux_i386 = -Dlinux -DLSB_FIRST -DX86_ASM
+ifeq (${MACHINE_ARCH},i386)
DEFS.FREEBSD = -DLSB_FIRST -DX86_ASM -Dlinux -DFREEBSD_SOUND_WORKAROUND
+else
+# someone with an alpha pls check this
+DEFS.FREEBSD = -DLSB_FIRST -DACORN -Dlinux -DFREEBSD_SOUND_WORKAROUND
+endif
DEFS.netbsd_i386 = -DLSB_FIRST -DX86_ASM -DNETBSD -DUSE_AUDIO
DEFS.sunos = -Dsun -DCLOCKS_PER_SEC=1000000 -DACORN
DEFS.solaris = -Dsun -DACORN