intltool: fix build issues
authorFrancois Perrad <fperrad@gmail.com>
Fri, 17 Oct 2014 18:48:01 +0000 (20:48 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 23 Oct 2014 19:58:28 +0000 (21:58 +0200)
commit2081534cd427a24389b7b09848a189271d1b408f
treecfc79bff50c1cba959f76a012b0db061c0a57d6b
parent9a2d5f929730037fa1267fc7a78f16294d4f6795
intltool: fix build issues

This commit fixes various build failures caused by the host-perl
series.

Currently, the variables PERL and PERL5LIB are available only during
the configure step of host-intltool, but they are also needed when
running host-intltool, in all packages that depend on
host-intltool. Without them, host-intltool cannot work as it doesn't
find the libxml-parser-perl module installed in
$(HOST_DIR)/usr/lib/perl.

This commit therefore makes the PERL and PERL5LIB variables global, so
that all packages can access them.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Reviewed-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Makefile.in
package/intltool/intltool.mk
package/pkg-perl.mk