Re: hack'a'day :accessing macports:: variables from a PortGroup

2023-10-27 Thread Clemens Lang
Hi, On Mon, Oct 23, 2023 at 01:41:23PM +0200, René J.V. Bertin wrote: > This is probably seen as a forbidden hack, but is there a way to > access variables from the macports namespace in a PortGroup (or > Portfile)? > > I know that "user" code like this is executed under/through > `mportopen`

hack'a'day :accessing macports:: variables from a PortGroup

2023-10-23 Thread René J . V . Bertin
Hi, This is probably seen as a forbidden hack, but is there a way to access variables from the macports namespace in a PortGroup (or Portfile)? I know that "user" code like this is executed under/through `mportopen` which is in that namespace, but when I invoke `namespace children` I only see