Tcl question: expansion of variable names

Mojca Miklavec mojca at macports.org
Tue Sep 4 09:15:04 UTC 2018


Hi,

I would like to ask for some help making a little trick work. Here's
my attempt of a PR:
    https://github.com/macports/macports-ports/pull/2509/files

Each subport has a different checksum URL:
    https://geant4.web.cern.ch/support/download_archive?page=0
    https://geant4.web.cern.ch/support/download_archive?page=1
    https://geant4.web.cern.ch/support/download_archive?page=2
etc.

I would like to code this inside a table, but somehow I cannot figure
out how to properly resolve the variable names when using this hack.

I can still use the poor man's solution and hardcode everything, so
it's not really critical.

(A bigger problem is that "make install" stopped working for a
completely mysterious reason, even for the one package that already
exists on the server.)

Thank you,
    Mojca


More information about the macports-dev mailing list