Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 2006 15:21:00 -0300 (BRST)
From:      Rainer Alves <rainer.alves@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        mnag@FreeBSD.org, hendrik@scholz.net
Subject:   ports/96934: [PATCH] multimedia/transcode : configure fails when avifile is installed
Message-ID:  <200605071821.k47IL0u2019915@valfenda.ibest.com.br>
Resent-Message-ID: <200605071830.k47IUFZu079935@freefall.freebsd.org>

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

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



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