aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-06-06 23:39:50 +0800
committersteve <steve@FreeBSD.org>1999-06-06 23:39:50 +0800
commit4b07d71e491e1552303d44e86042185e6e172c52 (patch)
treead50e6e879a7d5680dd0722df47dbdcd1774408a
parent503d9a11552467aa45cda91108b018bc1facddc5 (diff)
downloadfreebsd-ports-gnome-4b07d71e491e1552303d44e86042185e6e172c52.tar.gz
freebsd-ports-gnome-4b07d71e491e1552303d44e86042185e6e172c52.tar.zst
freebsd-ports-gnome-4b07d71e491e1552303d44e86042185e6e172c52.zip
Don't try to use sound or joystick support when MACHINE_ARCH is alpha.
-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