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')
#!/usr/bin/env python
# install the pidl modules
-bld.INSTALL_FILES(bld.env.VENDORDIR_PERL,
+bld.INSTALL_FILES('${DATAROOTDIR}/perl5',
'''
Parse/Pidl.pm
Parse/Pidl/Samba4.pm
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')