ports/93684: [patch] Fix build of multimedia/avidemux2

Mario Sergio Fujikawa Ferreira lioux at FreeBSD.org
Wed Feb 22 00:50:07 UTC 2006


>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 at 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:



More information about the freebsd-ports-bugs mailing list