ports/158583: ports net-im/skype dependency linux_v4l2wrapper-kmod
Makoto Kishimoto
ksmakoto at dd.iij4u.or.jp
Sat Jul 2 00:20:09 UTC 2011
>Number: 158583
>Category: ports
>Synopsis: ports net-im/skype dependency linux_v4l2wrapper-kmod
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jul 02 00:20:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Makoto Kishimoto
>Release: 8.2-STABLE
>Organization:
private
>Environment:
FreeBSD norikura.localdomain 8.2-STABLE FreeBSD 8.2-STABLE #0 r223459: Thu Jun 30 19:24:47 JST 2011 ksmakoto at norikura.localdomain:/export/obj/usr/src/sys/NORIKURA20110630 amd64
>Description:
net-im/skype dependency check for linux_v4l2wrapper-kmod insufficient. see patch
>How-To-Repeat:
----
>Fix:
see patch
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net-im/skype/Makefile,v
retrieving revision 1.60
diff -u -r1.60 Makefile
--- Makefile 12 May 2011 08:15:48 -0000 1.60
+++ Makefile 2 Jul 2011 00:02:51 -0000
@@ -45,11 +45,22 @@
USE_LINUX_APPS+=dri
.endif
+# try to avoid child processes when finding out if already in the kernel
+.if ${OSVERSION} > 900036 || (${OSVERSION} < 900000 && ${OSVERSION} > 802508)
+V4L2INBASE= 1
+.else
+. if ${OSVERSION} == 900036 || ${OSVERSION} == 802508
+V4L2INBASE!= ($(SYSCTL) -n kern.features.linuxulator_v4l2 2>/dev/null || true)
+. else
+V4L2INBASE= 0
+. endif
+.endif
+
.ifdef WITH_VIDEO
RUN_DEPENDS+= webcamd>0:${PORTSDIR}/multimedia/webcamd
USE_LINUX_APPS+=libv4l
SUB_LIST+= VIDEO="LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so "
-. if ${OSVERSION} < 900036
+. if ${V4L2INBASE} == "0"
RUN_DEPENDS+= linux_v4l2wrapper-kmod>=1.0:${PORTSDIR}/multimedia/linux_v4l2wrapper-kmod
. endif
.else
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list