summaryrefslogtreecommitdiff
path: root/games/nighthawk/patches/patch-ba
blob: 155c7f8a80e1ae1d1b3a8cd93ac31ede1f934e50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$NetBSD: patch-ba,v 1.2 1999/02/10 15:09:56 frueauf Exp $

--- src_sound/Makefile.BAK	Sun Feb  7 02:23:38 1999
+++ src_sound/Makefile	Sun Feb  7 02:29:38 1999
@@ -2,8 +2,8 @@
 # nighthawk sound engine
 ############################################################################
 CC	= gcc
-OPTIONS = -Wall -g -pipe -fomit-frame-pointer
-LIB	= -lm
+OPTIONS = -Wall -g -pipe -fomit-frame-pointer -DPREFIX=\"${PREFIX}\"
+LIB	= -lm -lossaudio
 
 ifeq ($(OSTYPE),Linux)
   OPTIONS += -DLinux
@@ -11,11 +11,11 @@
   ifeq ($(OSTYPE),FreeBSD)
     OPTIONS += -DFreeBSD
   else
-    OPTIONS += -DLinux
+    OPTIONS += -DNetBSD
   endif
 endif
 
-HOST_SAFE = 0
+HOST_SAFE = 1
 
 ifeq ($(HOSTTYPE),i386)
   HOST_SAFE = 1