infra/pkg-perl: add possibility to pass extra env at configure time
authorFrancois Perrad <fperrad@gmail.com>
Sun, 13 Jul 2014 13:03:21 +0000 (15:03 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 14 Jul 2014 11:06:59 +0000 (13:06 +0200)
commit734b34f520ab0a14a9c54341e32bd067058b7996
tree9dfbabfad5ff8e21ae93385780d1c70dd7f36ef7
parent6a67ad5a3d72ef040b6a8e5b6a97dfad8741a646
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>
docs/manual/adding-packages-perl.txt
package/pkg-perl.mk