ffmpeg port

Stijn Hoop stijn at win.tue.nl
Wed Dec 8 00:31:24 PST 2004


On Wed, Dec 08, 2004 at 07:26:22PM +1100, Alastair G. Hogge wrote:
> On Wed, 8 Dec 2004 04:38, Lucas Holt wrote:
> > Just an fyi, the ffmpeg port is not building propery for two possible
> > reasons.  First, several of the html documents are not found and make
> > dies.  Second, if you ran the install once and it failed, it created a
> > symlink in /usr/local/lib/ for a libavacodec.so (or something like that).
> >
> > So to get it to install, comment out the doc portion of the make file and
> > remove that symlink before doing make install.
> >
> > You will get no man pages and a waring about it but it will install the
> > port.
> Actually I found that if I ran tex2html in ffmpeg/work/.../doc on the *.texi 
> files, the install went OK. Even if/after the libs were symlinked.

Just ran into this myself, actually the build phase should execute
gmake in ffmpeg/work/../doc before install.

*UNTESTED* patch:

%%%
--- Makefile	Tue Dec  7 10:49:58 2004
+++ /home/stijn/Makefile	Wed Dec  8 10:30:29 2004
@@ -335,6 +335,11 @@
 		-e 's|#include <SDL|#include <SDL11/SDL|'
 .endif
 
+.ifndef(NOPORTDOCS)
+post-build:
+	cd ${WRKSRC}/doc && gmake
+.endif
+
 post-install:
 .ifndef(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
%%%

CC: maintainer

--Stijn

-- 
A "No" uttered from deepest conviction is better and greater than a
"Yes" merely uttered to please, or what is worse, to avoid trouble.
		-- Mahatma Ghandi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041208/a47ff245/attachment.bin


More information about the freebsd-questions mailing list