Skip site navigation (1)Skip section navigation (2)
Date:      21 Feb 2006 21:33:08 -0300
From:      Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        amistry@am-productions.biz
Subject:   ports/93684: [patch] Fix build of multimedia/avidemux2
Message-ID:  <20060222003331.97876.qmail@exxodus.fedaykin.here>
Resent-Message-ID: <200602220050.k1M0o2HW055056@freefall.freebsd.org>

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

>Number:         93684
>Category:       ports
>Synopsis:       [patch] Fix build of multimedia/avidemux2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 22 00:50:02 GMT 2006
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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