Opened 4 years ago

Closed 4 years ago

#13887 closed enhancement (fixed)

Put the perl modules from git in /usr/lib/perl5/5.32/site_perl

Reported by: ken@… Owned by: blfs-book
Priority: normal Milestone: 10.0
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

git installs Git.pm, its sub-modules and the dependencies we allow it to pull-in (plain perl) into /usr/share/perl5/. Until we changed how we build perl in LFS, nothing else from he books was in /usr/share/perl5.

At the moment, LFS perl installs a lot into /usr/share/perl5/core_perl and XML-Parser and almost all the modules in BLFS install into /usr/share/perl5/site_perl. I've raised LFS ticket 4710 to move all of those to /usr/lib.

Assuming that happens, the modules from git can be similarly moved by adding a sed to the shipped Makefile:

sed -i 's%\(^perllibdir = \).*%\1/usr/lib/perl5/5.32/site_perl%' Makefile

Note that the version(s) will need to be changed when perl is updated.

Change History (2)

comment:1 by Bruce Dubbs, 4 years ago

This can be accomplished by just adding perllibdir to the 'make install' line:

make perllibdir=/usr/lib/perl5/5.32/site_perl install

comment:2 by Bruce Dubbs, 4 years ago

Resolution: fixed
Status: newclosed

Fixed at revision 23485.

Note: See TracTickets for help on using tickets.