ports/96934: [PATCH] multimedia/transcode : configure fails when avifile is installed
Rainer Alves
rainer.alves at gmail.com
Sun May 7 18:30:29 UTC 2006
>Number: 96934
>Category: ports
>Synopsis: [PATCH] multimedia/transcode : configure fails when avifile is installed
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun May 07 18:30:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Rainer Alves
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
BrasilTelecom
>Environment:
>Description:
The transcode port checks for the presence of multimedia/avifile,
and uses the --enable-avifile option in configure if it is found.
However it breaks with the following error:
---
ERROR: option '--enable-avifile' failed: cannot compile avifile.h
avifile.h can be found in the following packages:
avifile http://avifile.sourceforge.net/
===> Script "configure" failed unexpectedly.
---
Maintainer is CC'ed.
>How-To-Repeat:
>Fix:
--- transcode-fix.diff begins here ---
diff -ruN /usr/ports/multimedia/transcode/Makefile multimedia/transcode/Makefile
--- /usr/ports/multimedia/transcode/Makefile Sun May 7 04:27:04 2006
+++ multimedia/transcode/Makefile Sun May 7 14:43:41 2006
@@ -194,7 +194,9 @@
.if defined(WITH_AVIFILE)
LIB_DEPENDS+= aviplay:${PORTSDIR}/multimedia/avifile
PLIST_SUB+= WITH_AVIFILE=""
-CONFIGURE_ARGS+= --with-avifile-prefix=${LOCALBASE} --enable-avifile
+CONFIGURE_ARGS+= --enable-avifile --with-avifile-prefix=${LOCALBASE} \
+ --with-avifile-includes=${LOCALBASE}/include/avifile \
+ --with-avifile-libs=${LOCALBASE}/lib/avifile
.else
CONFIGURE_ARGS+= --enable-avifile=no
PLIST_SUB+= WITH_AVIFILE="@comment "
--- transcode-fix.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list