[MacPorts] #54216: zlib +ng (and +cloudflare) accelerated variants

MacPorts noreply at macports.org
Mon Jun 19 12:38:23 UTC 2017


#54216: zlib +ng (and +cloudflare) accelerated variants
--------------------------+------------------------
  Reporter:  RJVB         |      Owner:  ryandesign
      Type:  enhancement  |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:  haspatch
      Port:  zlib         |
--------------------------+------------------------

Comment (by raimue):

 Replying to [comment:6 RJVB]:
 > {{{
 > > port dependents zlib | wc -l
 >      165
 > }}}
 >
 > (and that's just the number of installed ports.)

 You can calculate that for all ports with the `depends:` pseudo-portname
 selector.

 {{{
 $ port -q echo depends:zlib |wc -l
      765
 }}}

 We already use the `path:` syntax for many other ports (especially for
 *-devel ports) and it works. All these existing Portfiles can be updated
 with just one search and replace.

 > Huh? Switching between ports takes two commands, deactivate the one,
 activate the other. It's switching variants that takes a simple and unique
 `port activate` call?!

 I stand corrected, looks like `port install` handles that now. That only
 works as no other previously selected variants need to be preserved,
 otherwise it would be the unwieldy `sudo port -n upgrade --enforce-
 variants -ng +cloudflare`.

--
Ticket URL: <https://trac.macports.org/ticket/54216#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list