summaryrefslogtreecommitdiff
path: root/audio/xmms-faad/patches/patch-ac
blob: 15797209d8fc770711b5ccb0d750c9279f3424c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ac,v 1.2 2005/12/07 18:09:04 joerg Exp $

--- plugins/xmms/src/Makefile.am.orig	2004-02-07 03:05:07.000000000 +1100
+++ plugins/xmms/src/Makefile.am
@@ -5,9 +5,9 @@ libmp4_la_CFLAGS = `$(XMMS_CONFIG) --cfl
        `$(GTK_CONFIG) --cflags` -DHAVE_GLIB_H=1 \
        -I$(top_srcdir)/include -I$(top_srcdir)/common/mp4v2
 
-libmp4_la_LIBADD = $(top_builddir)/libfaad/libfaad.la \
-       $(top_builddir)/common/mp4v2/libmp4v2.la
+LIBS = -lfaad -lmp4v2
+CFLAGS = `$(XMMS_CONFIG) --cflags` `$(GTK_CONFIG) --cflags` -DHAVE_GLIB_H=1
 
 libmp4_la_LDFLAGS = -module -avoid-version `$(XMMS_CONFIG) --libs` \
-       `$(GTK_CONFIG) --libs` -lpthread -lstdc++
+       `$(GTK_CONFIG) --libs` -lstdc++ ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
 libmp4_la_SOURCES = libmp4.c mp4_utils.c aac_utils.c