Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jun 2011 06:06:40 -0500
From:      ajtiM <lumiwa@gmail.com>
To:        Sergio de Almeida Lenzi <lenzi.sergio@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: mencoder
Message-ID:  <201106260606.41041.lumiwa@gmail.com>
In-Reply-To: <1308923866.22076.3.camel@z6000.lenzicasa>
References:  <201106231805.54355.lumiwa@gmail.com> <1308923866.22076.3.camel@z6000.lenzicasa>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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