1Fix broken Makefile:
2
3* fix syntax error (missing '\' to continue line):
4 Makefile:19: *** recipe commences before first target. Stop.
5* Get portaudio library flags from pkg-config (to get -Lpath/to/portaudio/lib etc.)
6
7Author: Bjørn Forsman
8diff -uNr espeakedit-1.48.03.orig/src/Makefile espeakedit-1.48.03/src/Makefile
9--- espeakedit-1.48.03.orig/src/Makefile 2013-03-13 15:52:02.000000000 +0100
10+++ espeakedit-1.48.03/src/Makefile 2014-07-22 15:34:17.524114822 +0200
11@@ -12,12 +12,11 @@
12
13 WX_LIBS = -pthread `wx-config --libs`
14
15-LIBS=-lstdc++ -lportaudio
16+LIBS=-lstdc++ `pkg-config --libs portaudio-2.0`
17 #LIBS=-lstdc++ /usr/lib/x86_64-linux-gnu/libportaudio.so.2
18
19-CPPFLAGS = -Wall -g -fexceptions `wx-config --cflags`
20- -I/usr/include/wx-2.8 \
21- -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
22+CPPFLAGS = -Wall -g -fexceptions `wx-config --cflags` \
23+ -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES \
24 -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -D_ESPEAKEDIT
25
26 CXXFLAGS = -O2 -Wall -fexceptions `wx-config --cflags` \