Date: Tue, 25 Mar 2014 08:56:29 GMT From: Dominic Fandrey <kamikaze@bsdforen.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/187923: [patch] graphics/zbar fails with V4L enabled Message-ID: <201403250856.s2P8uT63008706@cgiserv.freebsd.org> Resent-Message-ID: <201403250900.s2P900UA050955@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403250856.s2P8uT63008706>