From nobody@FreeBSD.org  Wed Nov 21 04:47:02 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 516FFB07
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Nov 2012 04:47:02 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 3A23C8FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Nov 2012 04:47:02 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qAL4l2uE009150
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Nov 2012 04:47:02 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id qAL4l2bQ009149;
	Wed, 21 Nov 2012 04:47:02 GMT
	(envelope-from nobody)
Message-Id: <201211210447.qAL4l2bQ009149@red.freebsd.org>
Date: Wed, 21 Nov 2012 04:47:02 GMT
From: Chris Petrik <c.petrik.sosa@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] multimedia/motion fix bktr
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         173750
>Category:       ports
>Synopsis:       [PATCH] multimedia/motion fix bktr
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mandree
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 21 04:50:00 UTC 2012
>Closed-Date:    Mon Mar 11 17:03:37 UTC 2013
>Last-Modified:  Mon Mar 11 17:10:01 UTC 2013
>Originator:     Chris Petrik
>Release:        
>Organization:
na
>Environment:
>Description:
Fix an issue with bktr 
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: motion/Makefile
==================================================================
--- motion/Makefile
+++ motion/Makefile
@@ -1,14 +1,12 @@
-# New ports collection makefile for:	motion
-# Date created:				22 Dec 2005
 # Whom:					Angel Carpintero <ack@telefonica.net>
-#
+# Created by: Angel Carpintero <ack@telefonica.net>
 # $FreeBSD: head/multimedia/motion/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
 
 PORTNAME=	motion
 PORTVERSION=	3.2.12
+PORTREVISION=	1
 CATEGORIES=	multimedia
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20-%20${PORTVERSION:R}/${PORTVERSION}
 
 MAINTAINER=	c.petrik.sosa@gmail.com
 COMMENT=	A motion detection application
@@ -51,11 +49,10 @@
 BUILD_DEPENDS+=	v4l_compat>=1.0.20060801:${PORTSDIR}/multimedia/v4l_compat
 RUN_DEPENDS+=	/boot/modules/pwc.ko:${PORTSDIR}/multimedia/pwcbsd
 CONFIGURE_ARGS+=--with-pwcbsd
 .else
 CONFIGURE_ARGS+=--without-pwcbsd
-CFLAGS+=	-DWITHOUT_V4L
 .endif
 
 .if ${PORT_OPTIONS:MLTHREAD}
 LIB_DEPENDS+=	lthread:${PORTSDIR}/devel/linuxthreads
 CONFIGURE_ARGS+=--with-linuxthreads



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mandree 
Responsible-Changed-By: mandree 
Responsible-Changed-When: Sat Mar 9 09:45:28 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=173750 
State-Changed-From-To: open->closed 
State-Changed-By: mandree 
State-Changed-When: Mon Mar 11 17:03:36 UTC 2013 
State-Changed-Why:  
Committed, with changes as discussed on IRC. Thank you!

http://www.freebsd.org/cgi/query-pr.cgi?pr=173750 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/173750: commit references a PR
Date: Mon, 11 Mar 2013 17:03:22 +0000 (UTC)

 Author: mandree
 Date: Mon Mar 11 17:03:15 2013
 New Revision: 313919
 URL: http://svnweb.freebsd.org/changeset/ports/313919
 
 Log:
   Fix an issue with bktr.
   
   PR:		ports/173750
   Submitted by:	c.petrik.sosa@gmail.com (maintainer)
 
 Modified:
   head/multimedia/motion/Makefile   (contents, props changed)
 
 Modified: head/multimedia/motion/Makefile
 ==============================================================================
 --- head/multimedia/motion/Makefile	Mon Mar 11 16:42:16 2013	(r313918)
 +++ head/multimedia/motion/Makefile	Mon Mar 11 17:03:15 2013	(r313919)
 @@ -3,6 +3,7 @@
  
  PORTNAME=	motion
  PORTVERSION=	3.2.12
 +PORTREVISION=	1
  CATEGORIES=	multimedia
  MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20-%20${PORTVERSION:R}/${PORTVERSION}
  
 @@ -13,10 +14,10 @@ LICENSE=	GPLv2
  
  LIB_DEPENDS=	jpeg:${PORTSDIR}/graphics/jpeg
  
 -OPTIONS_DEFINE=	VIDEO LTHREAD FFMPEG MYSQL PGSQL DOCS EXAMPLES
 +OPTIONS_DEFINE=	LTHREAD FFMPEG MYSQL PGSQL DOCS EXAMPLES
  OPTIONS_SINGLE=	VIDEO
  OPTIONS_SINGLE_VIDEO=	BKTR PWCBSD
 -OPTIONS_DEFAULT=	VIDEO BKTR FFMPEG
 +OPTIONS_DEFAULT=	BKTR FFMPEG
  VIDEO_DESC=	Video capture driver. Choose one of BKTR or PWCBSD
  BKTR_DESC=	BKTR based TV capture cards
  PWCBSD_DESC=	PWCBSD based Webcams
 @@ -39,6 +40,7 @@ PORTEXAMPLES=	motion-dist.conf thread1.c
  
  .if ${PORT_OPTIONS:MBKTR}
  CONFIGURE_ARGS+=--with-bktr
 +CFLAGS+=	-DWITHOUT_V4L
  .else
  CONFIGURE_ARGS+=--without-bktr
  .endif
 @@ -47,9 +49,9 @@ CONFIGURE_ARGS+=--without-bktr
  BUILD_DEPENDS+=	v4l_compat>=1.0.20060801:${PORTSDIR}/multimedia/v4l_compat
  RUN_DEPENDS+=	/boot/modules/pwc.ko:${PORTSDIR}/multimedia/pwcbsd
  CONFIGURE_ARGS+=--with-pwcbsd
 +CFLAGS+=	-DWITHOUT_V4L
  .else
  CONFIGURE_ARGS+=--without-pwcbsd
 -CFLAGS+=	-DWITHOUT_V4L
  .endif
  
  .if ${PORT_OPTIONS:MLTHREAD}
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
