ASSP port testing, not getting all perl mods to work
Scott Haneda
talklists at newgeo.com
Thu Jan 22 16:46:07 PST 2009
On Jan 22, 2009, at 4:30 PM, Ryan Schmidt wrote:
> 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.
Whether or not you chimed in and stated that, it was my feeling it
should not anyway, so I am working to solve it in other ways. The
developer has started to be a bit more forthcoming with helping, so I
will see what I can work out.
--
Scott
More information about the macports-users
mailing list