ASSP port testing, not getting all perl mods to work

Ryan Schmidt ryandesign at macports.org
Thu Jan 22 16:30:00 PST 2009


On Jan 22, 2009, at 14:41, Scott Haneda wrote:

> There seems to be two ways to solve this:
> 1. Add the directory to the PERL5LIB environment variable.
> 2. Add use lib 'directory'; in your Perl script.
>
> I think the first way is simplest, but not so portable.  I am not  
> even sure a port file can modify .profile or .bashrc, and even  
> then, from what my experience is, env vars are a gotcha moment with  
> MacPorts.  It certainly lives outside of /opt/local so to me, less  
> than idea.
>
> The second way may be best, but I have to work with the developer  
> of ASSP to figure out where to best add this in.

I will just say that a port should not modify the user's .profile. If  
a port needs a modification to the user's .profile, it should print a  
message telling the user what change they should make.



More information about the macports-users mailing list