please check if your port may use v4l_compat

Luigi Rizzo rizzo at
Fri Feb 9 15:44:31 UTC 2007

dear ports maintainers,

after hitting a couple of them myself (net/ekiga and mbone/vic),
i believe that there is a number of ports, especially in the
multimedia/ graphics/ net/ mbone/ categories which might
make good use of a

BUILD_DEPENDS+= v4l_compat>=1.0.20060801:${PORTSDIR}/multimedia/v4l_compat

line in their Makefile, to enable support of video4linux devices.

The above port will just add a single header to the system,


But this in turn might trigger the video4linux detection in
the individual configure files, and finally support such devices
for which we start having drivers (multimedia/pwcbsd,
multimedia/linux-gspca-kmod and multimedia/linux-ov511-kmod
among others).

A good way to check if your port could be interested is to

	grep videodev.h configure

If you have a match, check the path where the file is looked up,
and possibly correct it (some only try /usr/include/linux/videodev.h
because that is the linux location).

After that you _might_ have various build errors,
but generally trivial to fix (and not setting the BUILD_DEPENDS
is not a solution because the port could be already there
for other reasons).

I can help handling some of them as long as you email me
if your grep for 'videodev.h' returns a match


More information about the freebsd-ports mailing list