* On 2025-04-30 at 16:51 BST, Dr. Thomas Orgis wrote:
This does resolve to /usr if USE_BUILTIN.libtirpc=yes … but I test without PREFER_NATIVE+=libtirpc and see this: $ bmake show-var VARNAME=USE_BUILTIN.libtirpc no $ bmake show-var VARNAME=BUILDLINK_PREFIX.libtirpc
You'll need to also pass _PKGSRC_BARRIER=yes to see it if using show-var (or -v).
Oh. Is there an easy way to see which variables are lazily defined and which not?
There's no list as such, it just depends where they are set and where you are trying to use them. We used to try and hide all this complexity inside the infrastructure so that in a package Makefile you only need to set variables and not have to perform any logic.
-- Jonathan Perkin pkgsrc.smartos.org Open Source Complete Cloud www.tritondatacenter.com