summaryrefslogtreecommitdiff
path: root/audio/faac/patches/patch-ac
blob: 9e93ecbc6f2129f426afe621f15e52460ed648b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ac,v 1.2 2007/02/15 06:44:32 tron Exp $

--- frontend/Makefile.am.orig	2004-07-28 09:18:21.000000000 +0100
+++ frontend/Makefile.am	2007-02-12 09:03:04.000000000 +0000
@@ -6,6 +6,11 @@
 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/common/mp4v2
 LDADD = $(top_builddir)/libfaac/libfaac.la $(top_srcdir)/common/mp4v2/libmp4v2.la -lm -lstdc++
 else
+if WITH_EXTMP4V2
+INCLUDES = -I$(top_srcdir)/include
+LDADD = $(top_builddir)/libfaac/libfaac.la -lmp4v2 -lm
+else
 INCLUDES = -I$(top_srcdir)/include 
 LDADD = $(top_builddir)/libfaac/libfaac.la -lm
+endif
 endif