[OmniOS-discuss] PERL modules as packages conflict

Lauri Tirkkonen lotheac at iki.fi
Tue Jan 20 07:16:49 UTC 2015


On Tue, Jan 20 2015 00:25:43 -0500, Alex McWhirter wrote:
> I have perl and some modules all setup as packages, but theres a
> conflict. Each module wants to make changes to perllocal.pod and pkg
> detects this as a conflict.
> 
> i would imagine this problem has been run into before with the
> OMNIperl package set, i would like to know how it was resolved? I
> couldn’t find build scripts for OMNIperl anywhere.

I can't speak for omniti-perl, but the perl template in omnios-build
uses make_pure_install by default:

https://github.com/omniti-labs/omnios-build/blob/omniti-ms/lib/functions.sh#L792

Failing that you could add a package transform to not ship perllocal.pod
with your packages in either local.mog or lib/global-transforms.mog.
Something like:

<transform file path=path/to/perllocal.pod$ -> drop>

-- 
Lauri Tirkkonen | lotheac @ IRCnet


More information about the OmniOS-discuss mailing list