perl5.8 fixup

Bradley Giesbrecht brad at pixilla.com
Wed Mar 11 12:14:31 PDT 2009


On Mar 11, 2009, at 11:43 AM, Eric Hall wrote:

> On Wed, Mar 11, 2009 at 11:29:35AM -0700, Bradley Giesbrecht wrote:
>>
>> On Mar 10, 2009, at 5:24 PM, Eric Hall wrote:
>>
>>> [snip]
>>>
>>> 	I've attached a set of patches to:
>>>
>>> 	http://trac.macports.org/ticket/12950#comment:14
>>>
>>> 	for testing.  So far so good for me.
>>
>> I'm testing your patches now.
>> Small point. Looks like you want to change the patchfile name in
>> perl5.8/Portfile or change the name of the patch file.
>>
>> Portfile: patch-perl.c.diff
>> Actual file: patch-perl.c.2.diff
>>
>
> 	Argh.  That's a 'feature' of trac - it bumped the filename
> as I didn't tell it to overwrite the file of the same name.
> You can change either the portfile or the filename of the
> patch for testing, it will be 'patch-perl.c.diff' when
> committed.

I've just tested on p5.
This is a G4 with a clean macports I put together just for this test.  
I will also test on a live system with existing perl5.8 and p5's.

Here is my initial result:
ChromeG4 root# port installed
No ports are installed.

ChromeG4 root# port install p5-cgi
/* no errors to speak of */

ChromeG4 root# port installed
The following ports are currently installed:
   p5-cgi @3.42_0 (active)
   perl5 @5.8.9_0 (active)
   perl5.8 @5.8.9_3 (active)

ChromeG4 root# man -wa CGI
/opt/local/man/man3/CGI.3pm.gz
/opt/local/share/man/man3/CGI.3pm.gz
/usr/share/man/man3/CGI.3pm
/opt/local/man/man3p/CGI.3pm
/opt/local/share/man/man3p/CGI.3pm

ChromeG4 root# perl -MCGI -le 'print $INC{"CGI.pm"}'
/opt/local/lib/perl5/vendor_perl/5.8.9/CGI.pm

ChromeG4 root#

Looks like there is a slight problem with the man pages. Looks like  
man searches all paths for man1 then man2 and so on to man3 then man3p  
or something a little wierd because even with a MANPATH env like  
"export MANPATH=/opt/local/share/man:$MANPATH" the /usr/share/man/man3  
is showing up before /opt/local/man/man3p.

I'm not that familiar with man's configuration or flags so maybe I'm  
misinterpreting this output.

If that is the case we might do something like /opt/local/share/ 
perl5.8/man for the perl module man pages and add that to the MANPATH  
env after /opt/local/share/man and before $MANPATH.

I'm still performing more tests and will report back.


//Brad



More information about the macports-dev mailing list