diff options
author | frueauf <frueauf> | 1998-07-22 10:02:31 +0000 |
---|---|---|
committer | frueauf <frueauf> | 1998-07-22 10:02:31 +0000 |
commit | 63064fcf44ab46c61b6ff5bb00b75c832f4c3d54 (patch) | |
tree | b0a25d2282e484795ee1422effeabf129e06233b /emulators/xmame | |
parent | ca2b33b146e17e0af6302a54e4b846947999c4cc (diff) | |
download | pkgsrc-63064fcf44ab46c61b6ff5bb00b75c832f4c3d54.tar.gz |
Give xmame the chance to compile on non-i386 machines too.
Diffstat (limited to 'emulators/xmame')
-rw-r--r-- | emulators/xmame/patches/patch-aa | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/emulators/xmame/patches/patch-aa b/emulators/xmame/patches/patch-aa index 919622b4f43..a4ee63ba204 100644 --- a/emulators/xmame/patches/patch-aa +++ b/emulators/xmame/patches/patch-aa @@ -1,5 +1,5 @@ ---- makefile.unix.orig Wed Jun 17 06:07:13 1998 -+++ makefile.unix Sat Jul 4 07:31:19 1998 +--- makefile.unix.orig Wed Jun 17 12:07:13 1998 ++++ makefile.unix Tue Jul 21 13:51:44 1998 @@ -36,7 +36,7 @@ # GNU MAKE is MANDATORY !!! # so please give me the path... @@ -96,7 +96,7 @@ ######## Sparc/SunOS/X11 ( no sound ) # ARCH = sunos ######## ix86/Solaris/X11 -@@ -304,17 +309,17 @@ +@@ -304,17 +309,22 @@ -fomit-frame-pointer -Wall INST.FREEBSD = doinstall @@ -108,10 +108,15 @@ #set STIM=-DUSE_TIMER above # -DEFS.netbsd_i386 = -DX86_ASM -DLSB_FIRST -DUNIX -Dnetbsd_i386 -DNETBSD \ ++ifeq (${MACHINE},i386) +DEFS.netbsd = -DX86_ASM -DLSB_FIRST -DUNIX -DNETBSD \ -DHAVE_GETTIMEOFDAY -DUSE_AUDIO -DSIGNED_SAMPLES -LIBS.netbsd_i386 = $(X11LIB) -lX11 -lXext -lm -CFLAGS.netbsd_i386 = $(X11INC) -m486 -fstrength-reduce -funroll-loops \ ++else ++DEFS.netbsd = -DLSB_FIRST -DUNIX -DNETBSD \ ++ -DHAVE_GETTIMEOFDAY -DUSE_AUDIO -DSIGNED_SAMPLES ++endif +LIBS.netbsd = $(X11LIB) -lX11 -lXext -lm +CFLAGS.netbsd = $(X11INC) -O3 -fstrength-reduce -funroll-loops \ -fomit-frame-pointer -Wall |