freebsd-ports/multimedia/spook/files/patch-configure.ac
Wen Heping d01ff0b44b - Fix V4L support
- Add LICENSE
- Pass maintainership to submitter

PR:		201162
Submitted by:	mizhka@gmail.com
2015-06-28 10:47:11 +00:00

19 lines
579 B
Text

--- configure.ac.orig 2005-02-08 02:23:54 UTC
+++ configure.ac
@@ -55,7 +55,7 @@ AC_ARG_ENABLE(encoder-jpeg,
[enable_encoder_jpeg=auto])
case $host in
- *-*-linux*)
+ *-*-linux*|*freebsd*)
if test x$enable_input_vdig = xyes; then
AC_MSG_ERROR([QuickTime digitizer support is only available on Mac OS X])
fi
@@ -116,6 +116,7 @@ if test x$enable_input_v4l != xno; then
]]),
[
AC_MSG_RESULT(yes)
+ LIBS="-lv4l1 $LIBS"
build_input_v4l=true
AC_MSG_CHECKING([for pwc-ioctl.h in the kernel source tree])
if test -d $linux_source/drivers/usb/media; then