]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Revert "buildtools: Rename perl vendorarch configure option."
authorMichael Adam <obnox@samba.org>
Thu, 4 Sep 2014 10:45:48 +0000 (12:45 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 18 Nov 2014 22:11:44 +0000 (23:11 +0100)
This reverts commit 04685ff4eed9535769d6a5feee7353f1796a4389.

We are reverting buildtools/wafadmin/Tools/perl.py back to upstream state.
Everything special is now in buildtools/wafsamba/samba_perl.py.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=10472

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Sep  9 03:07:20 CEST 2014 on sn-devel-104

(cherry picked from commit 1f878b9986523ce9e35dd74ae3c201f4e55f66f3)

Autobuild-User(v4-0-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-0-test): Tue Nov 18 23:11:44 CET 2014 on sn-devel-104

buildtools/wafadmin/Tools/perl.py

index 99e0540ca3a3f0573b5291df01bf89bd104c8e54..a6787a86ecfa86d41593fb01c561e145d6825738 100644 (file)
@@ -98,17 +98,12 @@ def check_perl_ext_devel(conf):
        conf.env.EXTUTILS_TYPEMAP  = read_out('print "$Config{privlib}/ExtUtils/typemap"')
        conf.env.perlext_PATTERN   = '%s.' + read_out('print $Config{dlext}')[0]
 
-       if getattr(Options.options, 'perl_vendorarch_dir', None):
-               conf.env.PERL_VENDORARCH_DIR = Options.options.perl_vendorarch_dir
+       if getattr(Options.options, 'perlarchdir', None):
+               conf.env.ARCHDIR_PERL = Options.options.perlarchdir
        else:
-               conf.env.PERL_VENDORARCH_DIR = read_out('print $Config{vendorarch}')[0]
+               conf.env.ARCHDIR_PERL = read_out('print $Config{sitearch}')[0]
 
 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-vendorarch",
-                      type="string",
-                      dest="perl_vendorarch_dir",
-                      help = ('Specify directory where to install arch specific files'),
-                      default=None)
+       opt.add_option("--with-perl-archdir", type="string", dest="perlarchdir", help = 'Specify directory where to install arch specific files', default=None)