Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2008 11:00:41 +0200
From:      Leslie Jensen <leslie@eskk.nu>
To:        Gyrd Thane Lange <gyrd-se@thanelange.no>
Cc:        Craig Butler <craig001@lerwick.hopto.org>, freebsd-ports@freebsd.org, multimedia@FreeBSD.org, Martin Tournoij <carpetsmoker@rwxrwxrwx.net>
Subject:   Re: multimedia/transcode won't build
Message-ID:  <489FFFB9.6050304@eskk.nu>
In-Reply-To: <20080811050319.17092ed1@parvati.thanelange.no>
References:  <489C4DC0.3030806@eskk.nu> <20080808135842.GA71650@rwxrwxrwx.net> <1218205120.70877.3.camel@main.lerwick.hopto.org> <20080811050319.17092ed1@parvati.thanelange.no>

next in thread | previous in thread | raw e-mail | index | archive | help

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



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