diff options
author | Michael Adam <obnox@samba.org> | 2014-08-26 01:29:57 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-09-05 19:47:06 +0200 |
commit | 75c3e240e0703be8c86596e689e466b4dee5e85e (patch) | |
tree | 48c6e7ed35131ad78c4dfa107c93b8c82652cb17 /wscript | |
parent | 6ad678166c85f0eb90b76ccf842d1aa8dcb6b41a (diff) | |
download | samba-75c3e240e0703be8c86596e689e466b4dee5e85e.tar.gz |
wafsamba: add samba_perl.py with SAMBA_CHECK_PERL() higher level check.
This checks for the perl binary, sets PERL and PERL_SPECIFIED
as well es the PERL_ARCH_INSTALL_DIR and PERL_LIB_INSTALL_DIR.
We want to avoid installing the perl modules outside the prefix.
I.e. generally,the perl modules should be installed
under "$prefix/share/perl5".
This improves the fixes for bug #10472.
The new strategy for automatically setting the paths is this:
- if the prefix equals perl's vendorprefix, then
- PERL_LIB_INSTALL_DIR is set to perl's vendorlib dir
- PERL_ARCH_INSTALL_DIR is set to perl's vendorarch dir
- otherwise:
- PERL_LIB_INSTALL_DIR is set to ${DATADIR}/perl5
(usually ${PREFIX}/share/perl5)
- PERL_ARCH_INSTALL_DIR is set to ${LIBDIR}/perl5
(usually ${PREFIX}/lib/perl5)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10472
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'wscript')
0 files changed, 0 insertions, 0 deletions