summaryrefslogtreecommitdiff
path: root/audio/speex/patches/patch-ab
blob: 34ad3695b52d77e8c91ea23867b274187af48a62 (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-ab,v 1.7 2015/01/16 08:50:47 wiz Exp $

Add getopt/ossaudio libraries where needed.

--- src/Makefile.in.orig	2014-12-06 19:58:25.000000000 +0000
+++ src/Makefile.in
@@ -248,7 +248,7 @@ LD = @LD@
 LDFLAGS = @LDFLAGS@
 LIBM = @LIBM@
 LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
+LIBS = @LIBS@ ${LIBGETOPT}
 LIBTOOL = @LIBTOOL@
 LIPO = @LIPO@
 LN_S = @LN_S@
@@ -351,11 +351,11 @@ include_HEADERS = 
 noinst_HEADERS = wav_io.h
 speexenc_SOURCES = speexenc.c wav_io.c skeleton.c
 speexenc_LDADD = $(top_builddir)/libspeex/libspeex.la \
-	$(OGG_LIBS)  @FFT_LIBS@	@SPEEXDSP_LIBS@
+	$(OGG_LIBS)  @FFT_LIBS@	@SPEEXDSP_LIBS@ $(LIBOSSAUDIO)
 
 speexdec_SOURCES = speexdec.c wav_io.c
 speexdec_LDADD = $(top_builddir)/libspeex/libspeex.la \
-	$(OGG_LIBS)  @FFT_LIBS@
+	$(OGG_LIBS)  @FFT_LIBS@ $(LIBOSSAUDIO)
 
 all: all-am