From d1c28881e79f7d87f18eb9dcf2b4d87c8a1be684 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Sun, 6 Jun 1999 15:39:50 +0000 Subject: Don't try to use sound or joystick support when MACHINE_ARCH is alpha. --- games/imaze/files/patch-aa | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/games/imaze/files/patch-aa b/games/imaze/files/patch-aa index 54abb7da989f..660c4ac16cf6 100644 --- a/games/imaze/files/patch-aa +++ b/games/imaze/files/patch-aa @@ -1,6 +1,6 @@ ---- source/Makefile.orig Sat Feb 13 00:33:39 1999 -+++ source/Makefile Sat Feb 13 00:41:26 1999 -@@ -111,13 +111,24 @@ +--- source/Makefile.orig Thu Feb 22 16:01:18 1996 ++++ source/Makefile Mon May 31 16:46:38 1999 +@@ -111,13 +111,34 @@ all freebsd: @@ -14,20 +14,30 @@ + SYSDEFS='-DDONT_DECLARE_ERRLIST -DJOYSTICK' \ + all +.else ++.if $(MACHINE_ARCH) == "i386" ++ $(MAKE) \ ++ OPENWINHOME='$$(X11BASE)' \ ++ GRAFLIBS='$$(XVLIBS)' \ ++ GRAFINCLUDES='$$(XVINCLUDES)' \ ++ GRAFOBJS='$$(XVOBJS)' \ ++ SYSDEFS='-DDONT_DECLARE_ERRLIST -DSOUND \ ++ -DDEFAULT_SOUND_DIR=\"$(SOUNDDIR)\" -DJOYSTICK' \ ++ all ++.else + $(MAKE) \ + OPENWINHOME='$$(X11BASE)' \ GRAFLIBS='$$(XVLIBS)' \ GRAFINCLUDES='$$(XVINCLUDES)' \ GRAFOBJS='$$(XVOBJS)' \ - SYSDEFS='-DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK' \ -+ SYSDEFS='-DDONT_DECLARE_ERRLIST -DSOUND \ -+ -DDEFAULT_SOUND_DIR=\"$(SOUNDDIR)\" -DJOYSTICK' \ ++ SYSDEFS='-DDONT_DECLARE_ERRLIST -DDEFAULT_SOUND_DIR=\"$(SOUNDDIR)\"' \ all ++.endif +.endif irix: $(MAKE) \ -@@ -143,7 +154,7 @@ +@@ -143,7 +164,7 @@ XVLIBS=-L$(OPENWINHOME)/lib -lxview -lolgx -lX11 XVINCLUDES=-I$(OPENWINHOME)/include -- cgit v1.2.3