summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-06-06 15:39:50 +0000
committerSteve Price <steve@FreeBSD.org>1999-06-06 15:39:50 +0000
commitd1c28881e79f7d87f18eb9dcf2b4d87c8a1be684 (patch)
tree103d788773f4f3fd7f26e8b924b7347df56ee436 /games
parentAdd a set of defines to sysdefs.h for the FreeBSD/Alpha port. (diff)
Don't try to use sound or joystick support when MACHINE_ARCH is alpha.
Notes
Notes: svn path=/head/; revision=19232
Diffstat (limited to 'games')
-rw-r--r--games/imaze/files/patch-aa22
1 files 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