[MacPorts] #34343: dbus: uses startupitem.install, which fails on MacPorts < 2.1

MacPorts noreply at macports.org
Fri May 4 22:36:32 PDT 2012


#34343: dbus: uses startupitem.install, which fails on MacPorts < 2.1
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  pixilla@…           
     Type:  defect                   |      Status:  new                 
 Priority:  High                     |   Milestone:                      
Component:  ports                    |     Version:  2.0.4               
 Keywords:                           |        Port:  dbus                
-------------------------------------+--------------------------------------
 As of r92726 the dbus port already uses the startupitem.install keyword,
 which does not exist before MacPorts 2.1, therefore, as
 [http://lists.macosforge.org/pipermail/macports-users/2012-May/028790.html
 reported on the mailing list], users of MacPorts < 2.1 encounter an error
 when trying to use this port, for example:

 {{{
 $ port info dbus
 Error: Unable to open port: can't read "startupitem.install": no such
 variable
 }}}

 If you want to use startupitem.install in the port already, you need to
 preface any usage of that variable with something like the following so
 that MacPorts 2.0.x won't fail:

 {{{
 if {[info exists startupitem.install]}
 }}}

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


More information about the macports-tickets mailing list