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

MacPorts noreply at macports.org
Sat Dec 12 13:32:10 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:
Resolution:                |   Keywords:
      Port:  torrentsniff  |
---------------------------+--------------------------------
Description changed by mojca@…:

Old description:

> 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;
> }}}

New description:

 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;
 }}}


 See also: #48365, (similar problem) #50003

--

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


More information about the macports-tickets mailing list