aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-06-23 01:42:56 +0800
committersteve <steve@FreeBSD.org>1999-06-23 01:42:56 +0800
commitd7735ea4b31cc435bbb7a04cffa90f648afd7e8e (patch)
treed5748a666b834353dae1592ca9989a68c128f3fc /games
parentc905b71aaf28d74fe1c40962f1d485eb0ebee80b (diff)
downloadfreebsd-ports-gnome-d7735ea4b31cc435bbb7a04cffa90f648afd7e8e.tar.gz
freebsd-ports-gnome-d7735ea4b31cc435bbb7a04cffa90f648afd7e8e.tar.zst
freebsd-ports-gnome-d7735ea4b31cc435bbb7a04cffa90f648afd7e8e.zip
Only enable sound support when the machine arch is not Alpha.
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