summaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-05-09 11:48:26 +0200
committerStefan Metzmacher <metze@samba.org>2014-05-09 23:10:07 +0200
commitd18ee9e4b6f4c9a24b555c111e08396012c1755a (patch)
treeefe17b4e1f86d8ca03cc42789d77b602e0cc9b25 /script
parent2637890ef42a238093f0f3cbdda0d621d5f9b2e2 (diff)
downloadsamba-d18ee9e4b6f4c9a24b555c111e08396012c1755a.tar.gz
samba-d18ee9e4b6f4c9a24b555c111e08396012c1755a.tar.xz
samba-d18ee9e4b6f4c9a24b555c111e08396012c1755a.zip
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 <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'script')
-rwxr-xr-xscript/autobuild.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/script/autobuild.py b/script/autobuild.py
index afd8d3d2547..3b634e86ed6 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -230,7 +230,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)