From d6043d62521391cf9c1d5b0f7f11618c6c3b46fb Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 9 May 2014 11:48:26 +0200 Subject: [PATCH] script/autobuild: make use of --with-perl-{arch,lib}-install-dir Bug: https://bugzilla.samba.org/show_bug.cgi?id=10472 Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider (cherry picked from commit d18ee9e4b6f4c9a24b555c111e08396012c1755a) --- script/autobuild.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/script/autobuild.py b/script/autobuild.py index cb822ffcec0..76e777cd15f 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -232,7 +232,9 @@ class builder(object): self.cmd = self.cmd.replace("${PYTHON_PREFIX}", get_python_lib(standard_lib=1, prefix=self.prefix)) self.cmd = self.cmd.replace("${PREFIX}", "--prefix=%s" % self.prefix) self.cmd = self.cmd.replace("${PREFIX_DIR}", "%s" % self.prefix) - self.cmd = self.cmd.replace("${PERL_VENDOR_LIB}", "--with-perl-vendorlib=%s/share/perl5" % self.prefix) + perl_vendor_lib = "--with-perl-arch-install-dir=%s/share/perl5 " % self.prefix + perl_vendor_lib += "--with-perl-lib-install-dir=%s/lib/perl5" % self.prefix + self.cmd = self.cmd.replace("${PERL_VENDOR_LIB}", perl_vendor_lib) # if self.output_mime_type == "text/x-subunit": # self.cmd += " | %s --immediate" % (os.path.join(os.path.dirname(__file__), "selftest/format-subunit")) print '%s: [%s] Running %s' % (self.name, self.stage, self.cmd) -- 2.34.1