Bug 9893 - Wrong installation path for PIDL Perl modules
Wrong installation path for PIDL Perl modules
Status: ASSIGNED
Product: PIDL
Classification: Unclassified
Component: idl
svn
All All
: P5 minor
: ---
Assigned To: Jelmer Vernooij
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-16 14:13 UTC by Vadim Zhukov
Modified: 2013-05-16 21:12 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim Zhukov 2013-05-16 14:13:21 UTC
On OpenBSD, Perl modules should be installed under ${PREFIX}/libdata/perl5 folder. Unfortunately, pidl/lib/wscript_build (as of Samba4) forcibly installs them under ${DATAROOTDIR}/perl5. So we likely either need either to add another configuration option; or to detect such situation, say, by parsing and interpreting "perl -V" output; or to do both things, defaulting first one to the data gathered via second. What way will be more correct and acceptable for you?

For now, I just patch the pidl/lib/wscript_build itself.
Comment 1 Jelmer Vernooij 2013-05-16 21:12:04 UTC
I'm not really a fan of adding another configuration option. A patch that parses the "perl -V" output would be great.