Dear fink folks,

The following idea has been discussed a few time in IRC; I wanted to
bring it to the mailing list for comment before implementing it.

The version of perl which ships with 10.3 was built with a different
architecture flag than previous perls on OS X.  Whereas the architecture
flag was formerly "darwin", it is now "darwin-thread-multi-2level".

This creates no problems for -pm581 packages (which have been adapted
to the new flag), but our strategy for -pm packages has been to
store the code directly in /sw/lib/perl5 where it can be accessed by
any of the versions of perl.  Some parts of a package may get stored
in /sw/lib/perl5/darwin and those won't be found by the new perl.

My idea for addressing this is to create a new symlink:
  ln -s /sw/lib/perl5/darwin /sw/lib/perl5/darwin-thread-multi-2level
That way, a perl built with the longer architecture flag will find
things stored in /sw/lib/perl5.

The question for perl gurus is: will this cause any unanticipated problems?

The question for fink gurus is: how should we implement this in fink?
I was thinking of possibly making this symlink a part of the fink package
itself, and testing in a preinstall script to make sure there is not 
already a directory or a file in that location.  Any alternate suggestions?

  Thanks,
  Dave


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to