[MacPorts] #8221: RFE: port upgrade should consider variants when computing dependencies

MacPorts noreply at macports.org
Wed Dec 3 17:53:07 PST 2008


#8221: RFE: port upgrade should consider variants when computing dependencies
--------------------------------------+-------------------------------------
  Reporter:  ryandesign@…             |       Owner:  gwhitney@…           
      Type:  enhancement              |      Status:  new                  
  Priority:  Normal                   |   Milestone:  MacPorts 1.8.0       
 Component:  base                     |     Version:                       
Resolution:                           |    Keywords:                       
      Port:                           |  
--------------------------------------+-------------------------------------

Comment(by devans@…):

 This still does not seem to be addressed.  My example (using svn trunk)
 is pango +no_x11  which installs
 properly as per the variant description (no X11 dependencies) but a
 subsequent
 {{{
 sudo port upgrade pango
 }}}
 needlessly installs Xft2 and all its X11 dependencies (which are currently
 growing by leaps and
 bounds) during the upgrade. Xft2 is a default dependency that is removed
 by the +no_x11 variant
 in the Portfile.

 upgrade should follow dependencies based on the selected variants of the
 installed
 port being upgraded not its default ones.  This is a major problem for
 people who
 want to set up a maintainable native GTK+ (i.e. X11 free) development
 environment
 (among others).

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


More information about the macports-tickets mailing list