multimedia/transcode won't build

Leslie Jensen leslie at eskk.nu
Mon Aug 11 09:00:50 UTC 2008


> 
> The port appears to looking for the lzo headers in the wrong place.
> 
> archivers/lzo places include files in /usr/local/include while
> archivers/lzo2 places include files in /usr/local/include/lzo
> 
> a) To make the port work with lzo version 1, you can drop a small patch
> file (also attached) into /usr/ports/multimedia/transcode/files/:
> 
> [patch-libtc_tc_lzo.h]
> --- libtc/tc_lzo.h.orig	2008-08-10 22:24:53.000000000 +0200
> +++ libtc/tc_lzo.h	2008-08-10 22:25:37.000000000 +0200
> @@ -10,8 +10,8 @@
>  #ifndef TC_LZO_H
>  #define TC_LZO_H
>  
> -#include <lzo/lzo1x.h>
> -#include <lzo/lzoutil.h>
> +#include <lzo1x.h>
> +#include <lzoutil.h>
>  
>  #ifdef HAVE_CONFIG_H
>  #include "config.h"
> 
> b) You can uninstall archivers/lzo and install archivers/lzo2 instead
> (haven' tried this but I'll expect it to work.)
> 
> Regards
> Gyrd ^_^
> 

Thank you! I'll try the solution you mention. Just a thought, shouldn't 
lzo be a dependency if the port won't build without it? I my self do not 
have lzo installed at all at the moment and will install it just to make 
this new version of transcode work.
Thanks
/Leslie


More information about the freebsd-ports mailing list