Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/3] pkg-perl: add PREFER_INSTALLER variable
Date: Sun, 22 Jan 2017 17:34:27 +1100	[thread overview]
Message-ID: <20170122173427.32f9f737@free-electrons.com> (raw)
In-Reply-To: <20170121115118.17938-1-francois.perrad@gadz.org>

Hello,

On Sat, 21 Jan 2017 12:51:16 +0100, Francois Perrad wrote:

> +* +PERL_FOO_PREFER_INSTALLER+/+HOST_PERL_FOO_PREFER_INSTALLER+, with the
> +  value 'EUMM', the use of +Makefile.PL+ is prefered at +Build.pl+.

Should be "Build.PL" (i.e PL in capital letters).

> +  By default, 'MB'.

Is it possible to find values that are less cryptic than EUMM and MB ?
Either a boolean style:

<pkg>_USES_MODULE_BUILD = YES/NO

or:

<pkg>_BUILD_TYPE = Module-Build / ExtUtils-MakeMaker

Or are EUMM/MB values already used in the Perl community?

> +# equivalent at $CPAN::Config{prefer_installer}

I don't understand what this sentence means.

> +# legal values are MB and EUMM: if a module comes
> +# with both a Makefile.PL and a Build.PL, use the
> +# former (EUMM) or the latter (MB); if the module
> +# comes with only one of the two, that one will be
> +# used no matter the setting
> +$(2)_PREFER_INSTALLER ?= MB

If we keep this name, it should be:

<pkg>_PREFERRED_INSTALLER

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

  parent reply	other threads:[~2017-01-22  6:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-21 11:51 [Buildroot] [PATCH 1/3] pkg-perl: add PREFER_INSTALLER variable Francois Perrad
2017-01-21 11:51 ` [Buildroot] [PATCH 2/3] perl-gd: bump to version 2.56 Francois Perrad
2017-01-22  6:35   ` Thomas Petazzoni
2017-01-21 11:51 ` [Buildroot] [PATCH 3/3] perl-gdgraph: bump to version 1.54 Francois Perrad
2017-01-22  6:34 ` Thomas Petazzoni [this message]
2017-01-24  9:46   ` [Buildroot] [PATCH 1/3] pkg-perl: add PREFER_INSTALLER variable François Perrad

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170122173427.32f9f737@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox