diff options
author | Andreas Schneider <asn@samba.org> | 2014-02-25 17:16:37 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2014-02-27 11:48:54 +0100 |
commit | 9b200555fec2e33da9521db388d1839375aa8d83 (patch) | |
tree | 6d8c4524ed3bd4a02c30dc47404d3b38fb994d3d /buildtools | |
parent | cee11cfa4544425099268cd32393169afb4bb107 (diff) | |
download | samba-9b200555fec2e33da9521db388d1839375aa8d83.tar.gz |
waf: Add option to specify perl vendor dir.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10472
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Kai Blin <kai@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Feb 27 11:48:54 CET 2014 on sn-devel-104
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/wafadmin/Tools/perl.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/buildtools/wafadmin/Tools/perl.py b/buildtools/wafadmin/Tools/perl.py index a6787a86ecf..90be8d89aa5 100644 --- a/buildtools/wafadmin/Tools/perl.py +++ b/buildtools/wafadmin/Tools/perl.py @@ -103,7 +103,14 @@ def check_perl_ext_devel(conf): else: conf.env.ARCHDIR_PERL = read_out('print $Config{sitearch}')[0] + conf.env.VENDORDIR_PERL = Options.options.perlvendordir + def set_options(opt): opt.add_option("--with-perl-binary", type="string", dest="perlbinary", help = 'Specify alternate perl binary', default=None) opt.add_option("--with-perl-archdir", type="string", dest="perlarchdir", help = 'Specify directory where to install arch specific files', default=None) + opt.add_option("--with-perl-vendordir", + type="string", + dest="perlvendordir", + help="Specify directory where to install perl vendor files", + default='${DATAROOTDIR}/perl5/vendor_perl') |