[Buildroot] [PATCH 1/1] dependencies: additional check for PERL_MM_OPT

Peter Korsgaard jacmet at uclibc.org
Sat Oct 15 21:01:17 UTC 2011

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

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

Committed, thanks.

Bye, Peter Korsgaard

More information about the buildroot mailing list