From lioux@uol.com.br  Wed Feb 22 00:40:48 2006
Return-Path: <lioux@uol.com.br>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6DBD116A420
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 22 Feb 2006 00:40:48 +0000 (GMT)
	(envelope-from lioux@uol.com.br)
Received: from vette.gigo.com (vette.gigo.com [216.218.228.114])
	by mx1.FreeBSD.org (Postfix) with ESMTP id CB4E843D48
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 22 Feb 2006 00:40:47 +0000 (GMT)
	(envelope-from lioux@uol.com.br)
Received: from 201.11.139.182 (unknown [201.11.139.182])
	by vette.gigo.com (Postfix) with ESMTP id 26AEF5BA6
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Feb 2006 16:40:44 -0800 (PST)
Received: (qmail 97938 invoked by uid 1001); 21 Feb 2006 21:33:08 -0300
Message-Id: <20060222003331.97876.qmail@exxodus.fedaykin.here>
Date: 21 Feb 2006 21:33:08 -0300
From: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Reply-To: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: amistry@am-productions.biz
Subject: [patch] Fix build of multimedia/avidemux2
X-Send-Pr-Version: 3.113
X-GNATS-Notify: amistry@am-productions.biz

>Number:         93684
>Category:       ports
>Synopsis:       [patch] Fix build of multimedia/avidemux2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 22 00:50:02 GMT 2006
>Closed-Date:    Sat Apr 15 18:08:03 GMT 2006
>Last-Modified:  Sat Apr 15 18:08:03 GMT 2006
>Originator:     Mario Sergio Fujikawa Ferreira
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD exxodus.fedaykin.here 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Tue Feb 14 15:45:02 BRST 2006 lioux@exxodus:/usr/obj-6.x/usr/src-6.x/sys/LIOUX i386

>Description:

The distfile's build system tries to run automake on its own
after the configure stage (right at beginning of the build stage)
but that breaks the build.

>How-To-Repeat:

$ cd /usr/ports/multimedia/avidemux2 && make

>Fix:

Set all files to have the same timestamp so that the distfile's
build system does not try to run any auto* tools on its own: that
breaks the build.

Patch the port's Makefile

--- patch-Makefile begins here ---
--- Makefile.orig	Tue Feb 21 21:03:49 2006
+++ Makefile	Tue Feb 21 21:04:57 2006
@@ -111,6 +111,10 @@
 	@${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' \
 		${WRKSRC}/avidemux/ADM_mplex/ADM_mplexout.cpp
 
+pre-build:
+	@${FIND} ${WRKSRC} -type f -print0 | \
+		${XARGS} -x -n 10 -0 ${TOUCH}
+
 post-patch:
 	@${TOUCH} ${WRKSRC}/*
 	@${REINPLACE_CMD} 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure ${WRKSRC}/*/*/Makefile
--- patch-Makefile ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Wed Feb 22 00:52:14 UTC 2006 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93684 
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Mon Feb 27 04:46:33 UTC 2006 
State-Changed-Why:  
Text from misfiled PR ports/93884: 

Date: Sun, 26 Feb 2006 22:45:28 -0500 
From: Anish Mistry <amistry@am-productions.biz> 

I'm out of the country right now and can't test it, but the patch looks fine. 
Commit it. 

--  
Anish Mistry 

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

From: Anish Mistry <amistry@am-productions.biz>
To: bug-followup@freebsd.org
Cc: lioux@freebsd.org
Subject: Re: ports/93684 : [patch] Fix build of multimedia/avidemux2
Date: Mon, 6 Mar 2006 22:22:39 -0500

 --nextPart1662901.d73TCXtDE6
 Content-Type: text/plain;
   charset="us-ascii"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 
 Superceded by 94156.
 
 =2D-=20
 Anish Mistry
 amistry@am-productions.biz
 AM Productions http://am-productions.biz/
 
 --nextPart1662901.d73TCXtDE6
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (FreeBSD)
 
 iD8DBQBEDPyHxqA5ziudZT0RAiOXAKDdxsW4ZSRVqkcwIB4nIAPbxBlYdQCfWd0+
 HNaix+b4ubMs0M5CM+I4/VY=
 =67uc
 -----END PGP SIGNATURE-----
 
 --nextPart1662901.d73TCXtDE6--
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Sat Apr 15 18:07:45 UTC 2006 
State-Changed-Why:  
A fix was committed, thanks for reporting 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93684 
>Unformatted:
