• Re: Help with GL_TUPLE syntax

    From Gleb Popov@arrowd@freebsd.org to muc.lists.freebsd.ports on Sun Oct 26 11:32:19 2025
    From Newsgroup: muc.lists.freebsd.ports

    On Sun, Oct 26, 2025 at 8:56rC>AM Matthias Fechner <mfechner@freebsd.org> wrote:

    I tried now doing it with:
    GL_TUPLE=
    gitlab-org:git:v${GITLAB_GIT_VERSION}:_build/_build/deps/git-v${GITLAB_GIT_VERSION_SHORT}
    \
    gitlab-org:git:${GITLAB_GIT_MASTER_VERSION}:_build/_build/deps/git-master

    But it does not work. If I do a make makesum, it uses only the last
    GL_TUPLE but not both.
    Notice the double "_build/_build" piece in the last element of the
    tuple. This is a common source of confusion, because for technical
    reasons it is impossible to use : as another separator here.
    So, these are actually two elements - a distfile group and a subdir
    where to put the unpacked distfile.
    In your case you end up with two tuples using the same group called
    "_build". Renaming it fixes the issueL
    GL_TUPLE= gitlab-org:git:v${GITLAB_GIT_VERSION}:git_dep/_build/deps/git-v${GITLAB_GIT_VERSION_SHORT}
    \
    gitlab-org:git:${GITLAB_GIT_MASTER_VERSION}:git_master_dep/_build/deps/git-master
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2