[Buildroot] [PATCH 1/3] package/dvb-apps: fix build with some perl version

Baruch Siach baruch at tkos.co.il
Mon Nov 27 11:39:46 UTC 2017


Hi Yann,

On Mon, Nov 27, 2017 at 11:48:54AM +0100, Yann E. MORIN wrote:
> perl can't find a module that is located in the current directory,
> so help it locate it.
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> Cc: Francois Perrad <francois.perrad at gadz.org>
> 
> ---
> Note: I have no idea why perl on my machine does not find that file,
> while it does on all the autobuilders so far... I just assume that this
> is a perl version issue, but I may very well be wrong. François ?

This might have something to do with the removal of current directory from 
@INC in Debian:

  https://lists.debian.org/debian-devel-announce/2016/08/msg00013.html

baruch

> ---
>  package/dvb-apps/dvb-apps.mk | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/package/dvb-apps/dvb-apps.mk b/package/dvb-apps/dvb-apps.mk
> index 8ba1501d5c..8aa4a29307 100644
> --- a/package/dvb-apps/dvb-apps.mk
> +++ b/package/dvb-apps/dvb-apps.mk
> @@ -15,6 +15,8 @@ DVB_APPS_DEPENDENCIES = libiconv
>  DVB_APPS_LDLIBS += -liconv
>  endif
>  
> +DVB_APPS_MAKE_OPTS = PERL5LIB=$(@D)/util/scan
> +
>  ifeq ($(BR2_STATIC_LIBS),y)
>  DVB_APPS_MAKE_OPTS += enable_shared=no
>  else ifeq ($(BR2_SHARED_LIBS),y)

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -



More information about the buildroot mailing list