[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl-Modules] mac-glue-0.50 install quirk



I found a weird little thing that I don't think should be like it is. Please
correct me if I'm wrong. When the installme.plx script runs Makefile.pl with
ExtUtils::MM_MacOS::make({}); it will get it's version info from
'blib/lib/Mac/Glue.pm'. This will cause it to create the following folders:

:blib:lib:Mac:blib
:blib:lib:Mac:blib:lib
:blib:lib:Mac:blib:lib:Mac:
and copy :blib:lib:Mac:Glue.pm to :blib:lib:Mac:blib:lib:Mac:Glue.pm

When installme.plx does ExtUtils::MM_MacOS::make_install({}); it will take
the
stuff from blib (including the extra blib folder) and install it. This means
that the extra blib folder will be copied into Macperl:site_perl:Mac:.

To get around this you could modify the Makefile.PL in Mac-Glue-0.50 folder.
(**If I remember correctly this is bad practice to manually modify this
file**)

Change:
    'VERSION_FROM' => 'blib/lib/Mac/Glue.pm', # finds $VERSION
To:
    'VERSION_FROM' => 'Glue.pm', # finds $VERSION
and move Mac-Glue-0.50:blib:lib:Mac:Glue.pm to Mac-Glue-0.50:Glue.pm


Ricardo Muggli

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-modules-request@macperl.org