Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 2010 11:55:07 +0900 (JST)
From:      Hiroto Kagotani <hiroto.kagotani@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/143685: [MAINTAINER] graphics/iulib: build fails with multimedia/v4l_compat installed
Message-ID:  <201002090255.o192t7gt029250@luna3.auto.infsys.cne.okayama-u.ac.jp>
Resent-Message-ID: <201002090300.o1930CjJ009693@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         143685
>Category:       ports
>Synopsis:       [MAINTAINER] graphics/iulib: build fails with multimedia/v4l_compat installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 09 03:00:11 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Hiroto Kagotani
>Release:        FreeBSD 7.2-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD myhost.mydomain 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #13: Wed Jul 15 11:52:36 JST 2009
>Description:
Make sure not to use Video4Linux feature even if header files are found.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- iulib-0.4_4.patch begins here ---
--- /usr/ports/graphics/iulib.orig/Makefile	2010-02-05 20:38:46.000000000 +0900
+++ /usr/ports/graphics/iulib/Makefile	2010-02-09 11:50:46.000000000 +0900
@@ -42,10 +42,13 @@
 
 .if defined(WITH_VIDIO)
 LIB_DEPENDS+=	avcodec.1:${PORTSDIR}/multimedia/ffmpeg
-.else
+.endif
+
 post-patch:
+.if !defined(WITH_VIDIO)
 	@${REINPLACE_CMD} -e 's/novidio, 0/novidio, 1/' ${WRKSRC}/configure.ac
 .endif
+	@${REINPLACE_CMD} -e 's/nov4l2, 0/nov4l2, 1/' ${WRKSRC}/configure.ac
 
 pre-configure:
 	@(cd ${CONFIGURE_WRKSRC} \
--- iulib-0.4_4.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002090255.o192t7gt029250>