aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-06-23 18:47:17 +0800
committertijl <tijl@FreeBSD.org>2014-06-23 18:47:17 +0800
commit504b410deedde1efeaaf624123481fe86023b1ac (patch)
tree3ddd292225b0b921c180b38cd11488220ce957d8 /multimedia
parent98634ba583e547add0d67e7094893b9b9c126b5f (diff)
downloadfreebsd-ports-gnome-504b410deedde1efeaaf624123481fe86023b1ac.tar.gz
freebsd-ports-gnome-504b410deedde1efeaaf624123481fe86023b1ac.tar.zst
freebsd-ports-gnome-504b410deedde1efeaaf624123481fe86023b1ac.zip
Add missing libs when the QUICKTIME and DV options are enabled.
Reported by: Ajtim <lumiwa@gmail.com>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mjpegtools/files/patch-lavtools__Makefile.in11
-rw-r--r--multimedia/mjpegtools/files/patch-y4mutils__Makefile.in15
2 files changed, 26 insertions, 0 deletions
diff --git a/multimedia/mjpegtools/files/patch-lavtools__Makefile.in b/multimedia/mjpegtools/files/patch-lavtools__Makefile.in
new file mode 100644
index 000000000000..ae54d4089d8d
--- /dev/null
+++ b/multimedia/mjpegtools/files/patch-lavtools__Makefile.in
@@ -0,0 +1,11 @@
+--- lavtools/Makefile.in.orig
++++ lavtools/Makefile.in
+@@ -524,7 +524,7 @@
+ lav2yuv_SOURCES = lav2yuv.c lav_common.c
+ lav2yuv_CPPFLAGS = $(AM_CPPFLAGS) $(LIBDV_CFLAGS)
+ lav2yuv_LDADD = $(LIBMJPEGUTILS) \
+- liblavfile.la liblavjpeg.la
++ liblavfile.la liblavjpeg.la $(LIBDV_LIBS)
+
+ jpeg2yuv_SOURCES = jpeg2yuv.c
+ jpeg2yuv_CPPFLAGS = $(AM_CPPFLAGS) $(JPEG_CFLAGS)
diff --git a/multimedia/mjpegtools/files/patch-y4mutils__Makefile.in b/multimedia/mjpegtools/files/patch-y4mutils__Makefile.in
new file mode 100644
index 000000000000..147f406d07c0
--- /dev/null
+++ b/multimedia/mjpegtools/files/patch-y4mutils__Makefile.in
@@ -0,0 +1,15 @@
+--- y4mutils/Makefile.in.orig
++++ y4mutils/Makefile.in
+@@ -334,10 +334,10 @@
+ y4minterlace_LDADD = $(LIBMJPEGUTILS)
+ @HAVE_LIBQUICKTIME_TRUE@y4mtoqt_SOURCES = y4mtoqt.c
+ @HAVE_LIBQUICKTIME_TRUE@y4mtoqt_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/lavtools $(LIBQUICKTIME_CFLAGS)
+-@HAVE_LIBQUICKTIME_TRUE@y4mtoqt_LDADD = $(LIBMJPEGUTILS) $(top_builddir)/lavtools/liblavfile.la
++@HAVE_LIBQUICKTIME_TRUE@y4mtoqt_LDADD = $(LIBMJPEGUTILS) $(top_builddir)/lavtools/liblavfile.la $(LIBQUICKTIME_LIBS)
+ @HAVE_LIBQUICKTIME_TRUE@qttoy4m_SOURCES = qttoy4m.c
+ @HAVE_LIBQUICKTIME_TRUE@qttoy4m_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/lavtools $(LIBQUICKTIME_CFLAGS)
+-@HAVE_LIBQUICKTIME_TRUE@qttoy4m_LDADD = $(LIBMJPEGUTILS) $(top_builddir)/lavtools/liblavfile.la
++@HAVE_LIBQUICKTIME_TRUE@qttoy4m_LDADD = $(LIBMJPEGUTILS) $(top_builddir)/lavtools/liblavfile.la $(LIBQUICKTIME_LIBS)
+ y4mtoyuv_SOURCES = y4mtoyuv.c
+ y4mtoyuv_LDADD = $(LIBMJPEGUTILS)
+ yuv4mpeg_SOURCES = yuv4mpeg.c