mencoder
ajtiM
lumiwa at gmail.com
Sun Jun 26 11:06:46 UTC 2011
On Friday 24 June 2011 08:57:46 Sergio de Almeida Lenzi wrote:
> The problem is that it is missing cflags in the module codec-cfg.c
> a fix (dirty) in the mencoder makefile does the trick
>
> ========================================================
> --- Makefile.orig 2011-06-24 10:18:38.856768653 -0300
> +++ Makefile 2011-06-24 10:18:43.546211306 -0300
> @@ -170,6 +170,9 @@
> -e 's#HAVE_LOG2 1#HAVE_LOG2 0#g' \
> -e 's#HAVE_LOG2F 1#HAVE_LOG2F 0#g' \
> ${WRKSRC}/config.h
> + @${REINPLACE_CMD} \
> + -e "s;-Iffmpeg;-Iffmpeg `pkg-config --cflags libass`;" ${WRKSRC}
> +
>
> do-install:
> @${INSTALL_PROGRAM} ${WRKSRC}/mencoder ${PREFIX}/bin
> ========================================================
I solved a problem:
I went into the work/mplayer-export-2011-03-29 directory, and ran:
cc -O -DCODECS2HTML -I/usr/local/include -I. -Iffmpeg -o codec-cfg codec-
cfg.c
Than make make install.
If I use a postmaster it didn't work.
Mitja
--------
http://jpgmag.com/people/lumiwa
More information about the freebsd-ports
mailing list