[MacPorts] #47051: pass @1.6.5 add variant for gnupg21 dependency

MacPorts noreply at macports.org
Thu Mar 5 15:39:24 PST 2015


#47051: pass @1.6.5 add variant for gnupg21 dependency
--------------------------+--------------------------------
  Reporter:  edwin@…      |      Owner:  macports-tickets@…
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.3.3
Resolution:               |   Keywords:
      Port:  pass         |
--------------------------+--------------------------------

Comment (by john@…):

 Thanks for this too.

 However, rather than introducing a variant, I think a bin dependency would
 be the way to go. That is:

 {{{
 depends_run bin:gpg2:gnupg2
 }}}

 This will use the `gpg2` executable provided by either `gnupg2` or
 `gnupg21` if one is installed, or otherwise install `gnupg2`.

 Note that I've not actually tried this in practice -- I'll do so when I
 get chance, but feel free to see if it works for you and submit a new
 patch if you have time.

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


More information about the macports-tickets mailing list