Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jun 2011 10:57:46 -0300
From:      Sergio de Almeida Lenzi <lenzi.sergio@gmail.com>
To:        ajtiM <lumiwa@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: mencoder
Message-ID:  <1308923866.22076.3.camel@z6000.lenzicasa>
In-Reply-To: <201106231805.54355.lumiwa@gmail.com>
References:  <201106231805.54355.lumiwa@gmail.com>

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




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