Re: Help with GL_TUPLE syntax

Gleb Popov <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <CALH631=SXUFigQTND98iXtCEWGoCnW2DrW7zNvHr_Xqa-kVX2g@mail.gmail.com>
On Sun, Oct 26, 2025 at 8:56 AM Matthias Fechner <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.