Opened 8 years ago

Last modified 8 years ago

#50002 new enhancement

torrentsniff: better location for BitTorrent/BDecode.pm

Reported by: mojca (Mojca Miklavec) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: dbevans (David B. Evans)
Port: torrentsniff

Description (last modified by mojca (Mojca Miklavec))

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

Change History (1)

comment:1 Changed 8 years ago by mojca (Mojca Miklavec)

Description: modified (diff)
Note: See TracTickets for help on using tickets.