summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-06-22 16:51:09 +0000
committerSteve Price <steve@FreeBSD.org>1999-06-22 16:51:09 +0000
commitcbb17b468b5107ea6dddf672e2644d4f2b2ec0ff (patch)
treef936f59ecf19abb07dbec994b036087975f628eb
parentLive with the single warning fixed previously so that this builds again (diff)
Only build in sound support when the machine arch is i386.
Diffstat (limited to '')
-rw-r--r--games/miscom/files/patch-aa12
1 files changed, 9 insertions, 3 deletions
diff --git a/games/miscom/files/patch-aa b/games/miscom/files/patch-aa
index 9024818cefb1..da5262094fd0 100644
--- a/games/miscom/files/patch-aa
+++ b/games/miscom/files/patch-aa
@@ -1,5 +1,5 @@
---- Makefile Sun Mar 16 00:37:42 1997
-+++ /home/andy/tmp/wrk/Makefile Wed Apr 28 16:32:04 1999
+--- Makefile.orig Sat Mar 15 15:37:42 1997
++++ Makefile Sat Jun 19 16:10:46 1999
@@ -1,7 +1,7 @@
# makefile for miscom
@@ -18,7 +18,13 @@
# about `-DMORE_SOUNDBUF':
# With the new version of the sound driver in 1.3.x/2.0.x kernels,
-@@ -28,7 +28,7 @@
+@@ -24,11 +24,13 @@
+ #
+ # comment the line out if you don't want sound support, or if
+ # you're compiling on a non-Linux box.
++.if ${MACHINE_ARCH} == "i386"
+ SOUNDOPT=-DSOUNDSDIR=\"$(DATADIR)\" -DSOUND_SUPPORT -DMORE_SOUNDBUF
++.endif
# compiler opts - shouldn't need changing. the `-I' is there just
# in case you're using an older ncurses.