summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-06-22 17:42:56 +0000
committerSteve Price <steve@FreeBSD.org>1999-06-22 17:42:56 +0000
commit25534956ea1f58e66f8ce8b6d661ef7b4a52876a (patch)
tree3103b4a477a6b06d1fcc46e0167442c8f5fb462f /games
parentDefined timefield as a time_t instead of a long for the Alpha. (diff)
Only enable sound support when the machine arch is not Alpha.
Notes
Notes: svn path=/head/; revision=19675
Diffstat (limited to 'games')
-rw-r--r--games/xnibbles/Makefile6
-rw-r--r--games/xnibbles/files/patch-aa6
2 files changed, 8 insertions, 4 deletions
diff --git a/games/xnibbles/Makefile b/games/xnibbles/Makefile
index abde89201275..46132cd2fae8 100644
--- a/games/xnibbles/Makefile
+++ b/games/xnibbles/Makefile
@@ -3,7 +3,7 @@
# Date created: 2 March 1998
# Whom: Andrey Zakhvatov
#
-# $Id: Makefile,v 1.5 1998/09/15 11:13:17 asami Exp $
+# $Id: Makefile,v 1.6 1998/09/17 00:32:37 asami Exp $
#
DISTNAME= xnibbles-1.0BETA3
@@ -15,6 +15,10 @@ MAINTAINER= andy@icc.surw.chel.su
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
+.if ${MACHINE_ARCH} != "alpha"
+MAKE_ENV+= SOUND=1
+.endif
+
ALL_TARGET= linux
USE_GMAKE= yes
USE_X_PREFIX= yes
diff --git a/games/xnibbles/files/patch-aa b/games/xnibbles/files/patch-aa
index cc4bdec18789..ce00efb901e7 100644
--- a/games/xnibbles/files/patch-aa
+++ b/games/xnibbles/files/patch-aa
@@ -1,5 +1,5 @@
---- Makefile Thu Feb 26 00:14:35 1998
-+++ /home/andy/tmp/wrk/Makefile Tue Mar 3 00:00:39 1998
+--- Makefile.orig Wed Feb 25 18:14:35 1998
++++ Makefile Sun Jun 20 19:14:23 1999
@@ -23,12 +23,14 @@
# Compiler to use (C++ compiler _please_)
CC = g++
@@ -24,7 +24,7 @@
# Requires kernel sound support, change from 0 to 1 if you want it
- SOUND = 0
-+ SOUND = 1
++ #SOUND = 0
SOUNDDEV = /dev/dsp
# Requires kernel joystick support, change from 0 to 1 if you want it