dependencies: additional check for PERL_MM_OPT
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 14 Oct 2011 07:50:02 +0000 (09:50 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 15 Oct 2011 21:01:03 +0000 (23:01 +0200)
commit211916ed46e99c8b5c82ddba62f20371e6a86b01
tree1d8c06c5b2a5cb536147f3400b8872cc732f468b
parentbde4564fa74cc25a088aa4173709894d2acf5844
dependencies: additional check for PERL_MM_OPT

When the user has Perl local::lib installed, its environment contains
a PERL_MM_OPT variables which defines
INSTALL_BASE="/some/location". Unfortunately, having this makes the
build of libxml-parser-perl (and probably other Perl related packages)
fail, because it complains that both PREFIX (passed in our .mk file)
and INSTALL_BASE (passed from the PERL_MM_OPT environment variable)
are defined. Since in Buildroot we want our PREFIX to be considered,
we error out when the user has PERL_MM_OPT defined.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
toolchain/dependencies/dependencies.sh