From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 25 09:00:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 94D7F457 for ; Tue, 25 Mar 2014 09:00:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7192DD6F for ; Tue, 25 Mar 2014 09:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2P90004050956 for ; Tue, 25 Mar 2014 09:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2P900UA050955; Tue, 25 Mar 2014 09:00:00 GMT (envelope-from gnats) Resent-Date: Tue, 25 Mar 2014 09:00:00 GMT Resent-Message-Id: <201403250900.s2P900UA050955@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dominic Fandrey Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D3C0E2E8 for ; Tue, 25 Mar 2014 08:56:29 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C0437D2A for ; Tue, 25 Mar 2014 08:56:29 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2P8uT9a008707 for ; Tue, 25 Mar 2014 08:56:29 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2P8uT63008706; Tue, 25 Mar 2014 08:56:29 GMT (envelope-from nobody) Message-Id: <201403250856.s2P8uT63008706@cgiserv.freebsd.org> Date: Tue, 25 Mar 2014 08:56:29 GMT From: Dominic Fandrey To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/187923: [patch] graphics/zbar fails with V4L enabled X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2014 09:00:00 -0000 >Number: 187923 >Category: ports >Synopsis: [patch] graphics/zbar fails with V4L enabled >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 25 09:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Dominic Fandrey >Release: stable/10 >Organization: private >Environment: FreeBSD AprilRyan.norad 10.0-STABLE FreeBSD 10.0-STABLE #0 r262341: Sat Feb 22 21:52:47 CET 2014 root@fooobar:/usr/obj/GENERIC/amd64/usr/src/sys/GENERIC amd64 >Description: The configure script only looks in /usr/include for linux kernel headers, so it doesn't find them in /usr/local/include: .. checking linux/videodev.h usability... no checking linux/videodev.h presence... no checking for linux/videodev.h... no configure: error: in `/tmp/obj/usr/ports/graphics/zbar/work/zbar-0.10': configure: error: test for video support failed! rebuild your kernel to include video4linux support or configure --disable-video to skip building video support. See `config.log' for more details. ===> Script "configure" failed unexpectedly. .. >How-To-Repeat: # cd /usr/ports/graphics/zbar # make PORT_OPTIONS=V4L >Fix: Patch attached with submission follows: Index: graphics/zbar/Makefile =================================================================== --- graphics/zbar/Makefile (revision 348853) +++ graphics/zbar/Makefile (working copy) @@ -47,6 +47,7 @@ .if ${PORT_OPTIONS:MV4L} BUILD_DEPENDS+= v4l_compat>=1.0.20101027:${PORTSDIR}/multimedia/v4l_compat CONFIGURE_ARGS+= --enable-video=yes +CPPFLAGS+= -I${LOCALBASE}/include PLIST_SUB+= V4L="" MAN1+= zbarcam.1 .else >Release-Note: >Audit-Trail: >Unformatted: