freebsd-ports/multimedia/linux_v4l2wrapper-kmod/Makefile.sub
Juergen Lock 82e01abf4f Fix skype multimedia/linux_v4l2wrapper dependency on 8.
Approved by:	itetcu (skype ports maintainer)
Discussed on:	-multimedia
2011-07-17 16:29:42 +00:00

12 lines
380 B
Makefile

# $FreeBSD$
# try to avoid child processes when finding out if already in the kernel
.if ${OSVERSION} > 900036 || (${OSVERSION} < 900000 && ${OSVERSION} > 802508)
LINUX_V4L2_AVAILABLE= 1
.else
.if ${OSVERSION} == 900036 || ${OSVERSION} == 802508
LINUX_V4L2_AVAILABLE!= ($(SYSCTL) -n kern.features.linuxulator_v4l2 2>/dev/null || true)
.else
LINUX_V4L2_AVAILABLE= 0
.endif
.endif