mencoder

Sergio de Almeida Lenzi lenzi.sergio at gmail.com
Fri Jun 24 13:57:53 UTC 2011


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



More information about the freebsd-ports mailing list