[MacPorts] #16146: port gohome spews lots of errors if port doesn't have homepage variable

MacPorts noreply at macports.org
Mon Aug 4 16:47:08 PDT 2008


#16146: port gohome spews lots of errors if port doesn't have homepage variable
--------------------------------------+-------------------------------------
  Reporter:  ryandesign at macports.org  |       Owner:  raimue at macports.org
      Type:  defect                   |      Status:  assigned           
  Priority:  Normal                   |   Milestone:  MacPorts base bugs 
 Component:  base                     |     Version:  1.7.0              
Resolution:                           |    Keywords:                     
--------------------------------------+-------------------------------------
Changes (by raimue at macports.org):

  * owner:  macports-tickets at lists.macosforge.org => raimue at macports.org
  * status:  new => assigned

Comment:

 I have a question about its implementation, currently it is opening the
 Portfile to find out the homepage. Wouldn't it be sufficient to rely on
 the value in the PortIndex and only open the Portfile if the value is not
 available there? This would make the command run faster.

 Attached is a patch for `port/port.tcl` to implement this behavior. It
 also fixes the errors if no homepage is available as reported originally.

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


More information about the macports-tickets mailing list