summaryrefslogtreecommitdiffstats
path: root/docs/manual
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2014-07-13 15:03:21 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-14 13:06:59 +0200
commit734b34f520ab0a14a9c54341e32bd067058b7996 (patch)
tree9dfbabfad5ff8e21ae93385780d1c70dd7f36ef7 /docs/manual
parent6a67ad5a3d72ef040b6a8e5b6a97dfad8741a646 (diff)
downloadbuildroot-734b34f520ab0a14a9c54341e32bd067058b7996.tar.gz
buildroot-734b34f520ab0a14a9c54341e32bd067058b7996.zip
infra/pkg-perl: add possibility to pass extra env at configure time
Some perl packages may use environment variables as a hint to know how to be configured. That's for example the case for perl-net-ssleay that uses OPENSSL_PREFIX, if it is set in the environment, as the prefix to openssl. Add a new variable that packages can set if they need extra environment variables. Update the manual accordingly. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [yann.morin.1998@free.fr: enhance the commit log] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'docs/manual')
-rw-r--r--docs/manual/adding-packages-perl.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/manual/adding-packages-perl.txt b/docs/manual/adding-packages-perl.txt
index 4062646f45..d1a1616916 100644
--- a/docs/manual/adding-packages-perl.txt
+++ b/docs/manual/adding-packages-perl.txt
@@ -100,6 +100,10 @@ A few additional variables, specific to the Perl/CPAN infrastructure,
can also be defined. Many of them are only useful in very specific
cases, typical packages will therefore only use a few of them.
+* +PERL_FOO_CONF_ENV+/+HOST_PERL_FOO_CONF_ENV+, to specify additional
+ environment variables to pass to the +perl Makefile.PL+ or +perl Build.PL+.
+ By default, empty.
+
* +PERL_FOO_CONF_OPT+/+HOST_PERL_FOO_CONF_OPT+, to specify additional
configure options to pass to the +perl Makefile.PL+ or +perl Build.PL+.
By default, empty.
OpenPOWER on IntegriCloud