[MacPorts] #16704: p5-file-basedir-0.03 patch to use MacPorts location for XDG_DATA_DIRS

MacPorts noreply at macports.org
Tue Sep 30 10:20:50 PDT 2008


#16704: p5-file-basedir-0.03 patch to use MacPorts location for XDG_DATA_DIRS
-------------------------------+--------------------------------------------
  Reporter:  blb at macports.org  |       Owner:  ricci at macports.org
      Type:  defect            |      Status:  closed            
  Priority:  Normal            |   Milestone:  Port Bugs         
 Component:  ports             |     Version:  1.7.0             
Resolution:  fixed             |    Keywords:                    
      Port:  p5-file-basedir   |  
-------------------------------+--------------------------------------------
Changes (by ricci at macports.org):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 The attached patch will fail when $prefix != /opt/local.  I think we can
 safely change the line to just add the path w/o using File::Spec->catdir()
 (since we know the directory delimiters on our system, though if anyone
 wants the fun of splitting out ${prefix} and using File::Spec->catdir(),
 they're welcome to it).  Fix applied in r40401.

   Also, attaching tarballs to tickets for a small number of files makes
 extra work for anyone who wants to view said files, please attach them as
 native in the future.

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


More information about the macports-tickets mailing list