[MacPorts] #26255: tsung-1.3.1 -- tsung_stats.pl references system perl

MacPorts noreply at macports.org
Fri Mar 18 08:28:46 PDT 2011


#26255: tsung-1.3.1 -- tsung_stats.pl references system perl
--------------------------------------+-------------------------------------
 Reporter:  aaronbrashears@…          |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  1.9.1                                
 Keywords:                            |        Port:  tsung                                
--------------------------------------+-------------------------------------

Comment(by dluke@…):

 You don't want to hardcode /opt/local but you can use ${prefix} to patch
 the file.

 You can either just use reinplace to fix it in the Portfile, or you can
 use a patch + reinplace (the patch would put in a placeholder that you
 update with reinplace to ${prefix})

 Setting it to /usr/bin/env perl is maybe OK (depends on the script), but
 it may run with system perl on some people's systems that way, so if you
 want it to always use macports perl (which is a good idea for non-trivial
 scripts), then you don't want to use that method.

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


More information about the macports-tickets mailing list