summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2017-01-24 09:25:32 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-01-29 14:54:08 +0100
commit7f102d8284acf6619a1e8119dc76dc48957a4bef (patch)
treeda97491c69fc54a62ce3ef8cf56e886e1da4c4ec /docs
parent08a15442bf053705e4147eed74e1e4e8e80b5ea9 (diff)
pkg-perl: add PREFER_INSTALLER variable
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> [Thomas: tweak documentation.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/manual/adding-packages-perl.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/docs/manual/adding-packages-perl.txt b/docs/manual/adding-packages-perl.txt
index 4f5a6a406..3476b6281 100644
--- a/docs/manual/adding-packages-perl.txt
+++ b/docs/manual/adding-packages-perl.txt
@@ -68,8 +68,8 @@ As a policy, packages that provide Perl/CPAN modules should all be
named +perl-<something>+ in Buildroot.
This infrastructure handles various Perl build systems :
-+ExtUtils-MakeMaker+, +Module-Build+ and +Module-Build-Tiny+.
-+Build.PL+ is always preferred when a package provides a +Makefile.PL+
++ExtUtils-MakeMaker+ (EUMM), +Module-Build+ (MB) and +Module-Build-Tiny+.
++Build.PL+ is preferred by default when a package provides a +Makefile.PL+
and a +Build.PL+.
The main macro of the Perl/CPAN package infrastructure is
@@ -97,6 +97,13 @@ 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_PREFER_INSTALLER+/+HOST_PERL_FOO_PREFER_INSTALLER+,
+ specifies the preferred installation method. Possible values are
+ +EUMM+ (for +Makefile.PL+ based installation using
+ +ExtUtils-MakeMaker+) and +MB+ (for +Build.PL+ based installation
+ using +Module-Build+). This variable is only used when the package
+ provides both installation methods.
+
* +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.