summaryrefslogtreecommitdiffstats
path: root/pidl
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-02-25 17:16:37 +0100
committerAndreas Schneider <asn@cryptomilk.org>2014-02-27 11:48:54 +0100
commit9b200555fec2e33da9521db388d1839375aa8d83 (patch)
tree6d8c4524ed3bd4a02c30dc47404d3b38fb994d3d /pidl
parentcee11cfa4544425099268cd32393169afb4bb107 (diff)
downloadsamba-9b200555fec2e33da9521db388d1839375aa8d83.tar.gz
samba-9b200555fec2e33da9521db388d1839375aa8d83.tar.xz
samba-9b200555fec2e33da9521db388d1839375aa8d83.zip
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 'pidl')
-rw-r--r--pidl/lib/wscript_build2
-rw-r--r--pidl/wscript2
2 files changed, 3 insertions, 1 deletions
diff --git a/pidl/lib/wscript_build b/pidl/lib/wscript_build
index 9bddf3f39c8..29632d4d99b 100644
--- a/pidl/lib/wscript_build
+++ b/pidl/lib/wscript_build
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# install the pidl modules
-bld.INSTALL_FILES('${DATAROOTDIR}/perl5',
+bld.INSTALL_FILES(bld.env.VENDORDIR_PERL,
'''
Parse/Pidl.pm
Parse/Pidl/Samba4.pm
diff --git a/pidl/wscript b/pidl/wscript
index 05d9982adfe..77abb019de9 100644
--- a/pidl/wscript
+++ b/pidl/wscript
@@ -8,6 +8,8 @@ def set_options(opt):
def configure(conf):
conf.check_tool('perl')
+ conf.check_perl_ext_devel()
+
# we need a recent version of MakeMaker to get the right man page names
if conf.CHECK_PERL_MANPAGE():
conf.env.PERLMAN1EXT = conf.CHECK_PERL_MANPAGE(section='1')