[MacPorts] #63834: legacy-support: can't read "ls_cache_incpath": no such variable

MacPorts noreply at macports.org
Mon Nov 8 10:09:36 UTC 2021


#63834: legacy-support: can't read "ls_cache_incpath": no such variable
---------------------------------------+--------------------------
  Reporter:  ryandesign                |      Owner:  cjones051073
      Type:  defect                    |     Status:  assigned
  Priority:  Normal                    |  Milestone:
 Component:  ports                     |    Version:  2.7.1
Resolution:                            |   Keywords:
      Port:  mercurial legacy-support  |
---------------------------------------+--------------------------

Comment (by cjones051073):

 If anyone has suggestions what to do make the cargo_fetch/legacysuppoirt
 PG work better when included inside a variant I am open to suggestions. I
 guess the 'problem' lines are the global variable caches at

 https://github.com/macports/macports-
 ports/blob/da89704a46ac2b5a9771b8264e3876e4d46199e9/_resources/port1.0/group/legacysupport-1.1.tcl#L150

 if anyone ha suggestions what to do with these instead, I am open to
 suggestions.

 To me though the simpliest solution is to avoid including PGs in this way,
 in which case Joshua's suggestion of

 {{{
 if {[variant_isset rust]} {
     PortGroup cargo_fetch 1.0
 }
 }}}

 at the top of the mercurial Portfile, seems the best fix.

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


More information about the macports-tickets mailing list