Ticket #12710: perl5-1.0-privlib-dir.diff

File perl5-1.0-privlib-dir.diff, 643 bytes (added by nox@…, 17 years ago)
  • perl5-1.0.tcl

     
    129131        destroot.destdir        destdir=${destroot}
    130132}
    131133
     134# Some perl modules are bundled in perl5 itself, these need to be overwritten when installed
     135proc perl5.install_in_privlib_dir {} {
     136        global perl5.lib
     137
     138        set perl5.lib                   ${prefix}/lib/perl5/${perl5.version}
     139
     140        configure.args-delete   INSTALLDIRS=vendor
     141
     142        post-install {
     143                ui_msg "You must install or activate this package with '-f' (force) as it needs to overwrite files installed by the perl5.8 port"
     144        }
     145}
     146