[MacPorts] #38681: mdmg seems to get confused when deps have variants on by default

MacPorts noreply at macports.org
Fri Apr 5 02:00:58 PDT 2013


#38681: mdmg seems to get confused when deps have variants on by default
---------------------------+--------------------------------
  Reporter:  rogerdpack@…  |      Owner:  macports-tickets@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  base          |    Version:  2.1.3
Resolution:                |   Keywords:  mdmg
      Port:                |
---------------------------+--------------------------------

Comment (by ryandesign@…):

 Replying to [ticket:38681 rogerdpack@…]:
 > {{{
 > $ sudo port mdmg -f rdp-projects
 > }}}

 > (as a note, specifying -f for force apparently does nothing to help
 here)

 The `-f` flag (and other single-letter flags) are global and have no
 effect unless placed immediately after the word `port`, before the verb,
 so in this case, `sudo port -f mdmg ...`, however I'm not aware of any
 reason to use the `-f` flag with the `mdmg` verb. The `-f` flag can be
 dangerous and should only be used in a few specific instances, and where
 you understand its consequences. For example, in this case, the message
 says the variants don't match; using the `-f` flag to override this error
 will cause the port to claim to have been installed with one variant but
 to actually get installed with a different variant, which is probably not
 what you want.

-- 
Ticket URL: <https://trac.macports.org/ticket/38681#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list