freebsd-ports/multimedia/v4l-utils/files/patch-Makefile
Koop Mast 45ab52dc76 Add v4l-utils 0.8.4.
This port contains a number of tools for manupilating v4l* devices.

Initial port of 0.8.3 by nox@, some polish and update to 0.8.4 by myself.
2011-06-25 19:13:25 +00:00

25 lines
786 B
Text

--- ./Makefile.orig 2011-02-09 23:04:27.000000000 +0100
+++ ./Makefile 2011-06-03 19:08:13.000000000 +0200
@@ -1,4 +1,5 @@
-SUBDIRS=libv4l2util decode_tm6000 keytable rds v4l2-compliance v4l2-ctl v4l2-dbg xc3028-firmware
+#SUBDIRS=libv4l2util decode_tm6000 keytable rds v4l2-compliance v4l2-ctl v4l2-dbg xc3028-firmware
+SUBDIRS=libv4l2util decode_tm6000 keytable v4l2-compliance v4l2-ctl v4l2-dbg
all install:
@for i in $(SUBDIRS); do \
@@ -10,6 +11,7 @@
$(MAKE) -C v4l2-sysfs-path $@; \
fi
+ifdef WITH_QV4L2
# Test whether qmake is installed, and whether it is for qt4.
@if which qmake-qt4 >/dev/null 2>&1; then \
QMAKE=qmake-qt4; \
@@ -24,6 +26,7 @@
$(MAKE) -C qv4l2 -f Makefile.install $@; \
fi \
fi
+endif
sync-with-kernel:
$(MAKE) -C keytable $@