aboutsummaryrefslogtreecommitdiffstats
path: root/games/miscom
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-06-23 00:51:09 +0800
committersteve <steve@FreeBSD.org>1999-06-23 00:51:09 +0800
commitcc13798ee52ee006c7b203f57c8965bdf95cb16e (patch)
treec69e2dc76d35b5a27170f860bf22033311c4ec6f /games/miscom
parentd5adc5328e833c710110aa2f98136d1dd9bc1d0e (diff)
downloadfreebsd-ports-gnome-cc13798ee52ee006c7b203f57c8965bdf95cb16e.tar.gz
freebsd-ports-gnome-cc13798ee52ee006c7b203f57c8965bdf95cb16e.tar.zst
freebsd-ports-gnome-cc13798ee52ee006c7b203f57c8965bdf95cb16e.zip
Only build in sound support when the machine arch is i386.
Diffstat (limited to 'games/miscom')
-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.