multimedia/transcode configure breaks

Bruce M Simpson bms at incunabulum.net
Sun Apr 8 15:40:45 UTC 2007


ffmpeg vs libavcodec -- seems these things have changed and the port 
didn't catch up with them, they are in transcode ChangeLog. Here is a 
patch which appears to fix the issue.

In particular the avcodec test was broken because it seems to want an 
FFMPEG_VERSION symbol no longer defined in the headers... which can be 
changed to LIBAVCODEC_IDENT (I did this manually).

How tedious!

-------------- next part --------------
--- Makefile.orig	Sun Apr  8 16:29:51 2007
+++ Makefile	Sun Apr  8 16:32:49 2007
@@ -35,7 +35,8 @@
 CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
 		SDL_CONFIG="${SDL_CONFIG}"
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS+=	--with-ffmpeg_libs-prefix=${LOCALBASE} \
+CONFIGURE_ARGS+=	--with-libavcodec-includes=${LOCALBASE}/include/ffmpeg \
+			--with-libavcodec-libs=${LOCALBASE}/lib \
 			--with-libdvdread-prefix=${LOCALBASE} \
 			--with-libiconv-prefix=${LOCALBASE} \
 			--enable-oss


More information about the freebsd-multimedia mailing list