summaryrefslogtreecommitdiff
path: root/debian/patches/use-system-portadio.patch
blob: 73f8cfc89814fc2a2afaa2c04cc7001471f3ada5 (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
30
31
32
33
34
35
36
37
38
39
Index: nyquist-3.04b/sys/unix/nonalsa/Makefile
===================================================================
--- nyquist-3.04b.orig/sys/unix/nonalsa/Makefile	2011-01-30 13:39:10.000000000 -0600
+++ nyquist-3.04b/sys/unix/nonalsa/Makefile	2011-01-30 13:44:16.000000000 -0600
@@ -50,13 +50,13 @@
 # Standard list of includes (common to all unix versions)
 # Keeping portaudio and libsndfile sources local to nyquist
 INCL = -Inyqsrc -Itran -Ixlisp -Isys/unix -Icmt -Iffts/src \
-   -Inyqstk/include -Inyqstk -Iportaudio/include -Iportaudio/src/common \
-   -Iportaudio/src/os/unix 
+   -Inyqstk/include -Inyqstk
+
 
 
 # system dependent stuff for nonalsa:
 
-AUDIOLIBS = -lsndfile -llo
+AUDIOLIBS = -lsndfile -llo -lportaudio
 
 CC = gcc
 
@@ -74,7 +74,7 @@
 LN = g++ 
 AR = ar
 # to enable command line editing, insert -lreadline -lcurses
-LFLAGS = $(LIBPA_PATH)/libportaudio.a $(AUDIOLIBS) -lm -lpthread -lrt
+LFLAGS = $(AUDIOLIBS) -lm -lpthread -lrt
 
 TAGS:
 	find . ( -name 
@@ -275,7 +275,7 @@
 $(LIBPA_PATH)/libportaudio.a: portaudio/Makefile
 	cd portaudio; make
 
-$(NY): $(OBJECTS) $(LIBPA_PATH)/libportaudio.a 
+$(NY): $(OBJECTS) 
 	$(LN) $(OBJECTS) $(LFLAGS) -o $(NY)
 
 # copy appropriate system.lsp and make it read-only;