perl5.8 fixup

Bradley Giesbrecht brad at pixilla.com
Fri Mar 13 09:22:41 PDT 2009


>> /usr/share/man/man3/CGI.3pm.gz is found before /opt/local/share/
>> perl5.8/man/man3p/CGI.3pm even when MANPATH looks like this:
>>
>> /opt/local/share/man:/usr/share/man:/usr/X11/man:/usr/local/share/man
>>
>> I'm not saying I like this solution but changing the Portfile to add
>> perl5.8/man:
>>    -D man1dir='${prefix}/share/perl5.8/man/man1' \
>>    -D man3dir='${prefix}/share/perl5.8/man/man3' \
>>    -D siteman1dir='${prefix}/share/man/man1' \
>>    -D siteman3dir='${prefix}/share/man/man3' \
>>    -D vendorman1dir='${prefix}/share/man/man1' \
>>    -D vendorman3dir='${prefix}/share/man/man3'
>>
>> and making my MANPATH look like:
>>
>> /opt/local/share/man:/opt/local/share/perl5.8/man:/opt/local/man:/ 
>> usr/
>> share/man:/usr/X11/man:/usr/local/share/man
>>
>> causes perl5.8 module man pages to be found before apple installed  
>> man
>> pages.
>
> 	I really don't like changing MANPATH, its auto-generated
> (for the most part) and I think that's a Good Thing(tm).  Forcing
> people to set a MANPATH will result in breakage.

Aren't we already adding macports /opt/local/share/man to MANPATH?

//Brad


More information about the macports-dev mailing list