summaryrefslogtreecommitdiff
path: root/audio/sox/patches/patch-ab
blob: ccb7953d1474c643aa48095483ab68fae6c93a0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-ab,v 1.3 1998/08/07 10:36:12 agc Exp $

--- Makefile.unx.orig	Sat Oct  8 01:14:48 1994
+++ Makefile.unx	Fri Jun 19 19:05:49 1998
@@ -153,10 +153,17 @@
 # RM  = del /q
 
 
+
+# NetBSD 1.3
+CFLAGS		= -O -DLINUXSOUND -D_HAVE_PARAM_H -Dunix
+CC		= cc
+AR		= ar r
+RANLIB		= ranlib
+
 all: sox
 
 sox: sox.o $(SOUNDLIB)
-	$(CC) $(CFLAGS) -o sox sox.o $(SOUNDLIB) -lm
+	$(CC) $(CFLAGS) -o sox sox.o $(SOUNDLIB) -lm -lossaudio
 
 $(SOUNDLIB): $(LIBOBJS)
 	$(RM) $(SOUNDLIB)