[MacPorts] #50002: torrentsniff: better location for BitTorrent/BDecode.pm

MacPorts noreply at macports.org
Sat Dec 12 12:59:05 PST 2015


#50002: torrentsniff: better location for BitTorrent/BDecode.pm
-------------------------+--------------------------------
 Reporter:  mojca@…      |      Owner:  macports-tickets@…
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  torrentsniff
-------------------------+--------------------------------
 The file `BitTorrent/BDecode.pm` could go to a more suitable place than
 `/opt/local/share/torrentsniff/BitTorrent/BDecode.pm` (for example
 somewhere along the other Perl modules) to avoid the need for the
 following ugly patch:

 {{{
 -use BitTorrent::BDecode;
 +require '__PREFIX__/share/__NAME__/BitTorrent/BDecode.pm';
 +import BitTorrent::BDecode;
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/50002>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list