[MacPorts] #34156: irc/irssi hardcodes @INC

MacPorts noreply at macports.org
Mon Jul 2 11:54:49 PDT 2012


#34156: irc/irssi hardcodes @INC
----------------------------------------+-----------------------------------
 Reporter:  rmstonecipher@…             |       Owner:  macports-tickets@…                   
     Type:  defect                      |      Status:  new                                  
 Priority:  Normal                      |   Milestone:                                       
Component:  ports                       |     Version:  2.0.4                                
 Keywords:                              |        Port:  irssi                                
----------------------------------------+-----------------------------------

Comment(by dargo@…):

 perl5.12 is the default version of perl used by many of packages and the
 perl5.12 port only builds with threads enabled. this has a different
 architecture library path than the path configured in the irssi port, so
 the irssi scripts can't find any of the system libraries.

 in irssi/Portfile:
 {{{
 --with-perl-lib=${prefix}/lib/perl5/darwin
 }}}

 but threaded perl5.12 doesn't use this path. this is the list of paths
 used by perl (from perl -V):
 {{{
   @INC:
     /opt/local/lib/perl5/site_perl/5.12.4/darwin-thread-multi-2level
     /opt/local/lib/perl5/site_perl/5.12.4
     /opt/local/lib/perl5/vendor_perl/5.12.4/darwin-thread-multi-2level
     /opt/local/lib/perl5/vendor_perl/5.12.4
     /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level
     /opt/local/lib/perl5/5.12.4
     /opt/local/lib/perl5/site_perl
     /opt/local/lib/perl5/vendor_perl
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/34156#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list