Credit Andrew with NetBSD build fixes
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / Makefile
index 965e8316e3044f492d042a949e0cda61d6ce3f3d..5c35856920de9634381ede4bc0f95413cec345ca 100644 (file)
@@ -437,7 +437,10 @@ ifeq ($(WANT_CIN_3RDPARTY),no)
 LIBS += -lavfilter -lavformat -lavcodec -lavutil
 LIBS += -lswresample -lswscale
 PLATFORM = $(shell uname -s)
-ifneq (, $(filter $(PLATFORM), FreeBSD NetBSD))
+ifneq (, $(filter $(PLATFORM), NetBSD))
+LIBS += -lintl
+endif
+ifneq (, $(filter $(PLATFORM), FreeBSD))
 LIBS += -lintl -liconv
 LIBS += -lexecinfo
 endif
@@ -449,6 +452,11 @@ LIBS += `pkg-config --libs theora 2>/dev/null`
 LIBS += `pkg-config --libs vorbis 2>/dev/null`
 LIBS += `pkg-config --libs sndfile 2>/dev/null`
 LIBS += `pkg-config --libs x11 2>/dev/null`
+ifeq ($(WANT_DV),yes)
+LIBS += `pkg-config --libs libiec61883 2>/dev/null`
+LIBS += `pkg-config --libs libdv 2>/dev/null`
+LIBS += `pkg-config --libs libavc1394  2>/dev/null`
+endif
 ifeq ($(WANT_LIBZMPEG),yes)
 LIBS += -la52 -ltwolame -lmp3lame
 endif