[MacPorts] #65073: openjdk{11, 13}: +xx version suffix conflicts with variant syntax

MacPorts noreply at macports.org
Tue Apr 26 14:58:18 UTC 2022


#65073: openjdk{11,13}: +xx version suffix conflicts with variant syntax
-----------------------------------+--------------------
  Reporter:  amake                 |      Owner:  (none)
      Type:  defect                |     Status:  new
  Priority:  Normal                |  Milestone:
 Component:  ports                 |    Version:
Resolution:                        |   Keywords:
      Port:  openjdk11, openjdk13  |
-----------------------------------+--------------------

Comment (by jmroot):

 If your tooling can run a little Tcl, you can access the registry2 API
 directly to obtain separate values instead of a composite portspec:
 {{{
 % rlwrap port-tclsh
 % package require macports
 1.0
 % mportinit
 % package require registry2
 2.0
 % set myports [registry::entry search name zlib]
 ::registry::entry0
 % foreach p $myports {
 puts "name [$p name] version [$p version] revision [$p revision] variants
 [$p variants]"
 }
 name zlib version 1.2.12 revision 0 variants
 %
 }}}

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


More information about the macports-tickets mailing list