tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PYTHONBIN for cross-compilation to different LOCALBASE

Taylor R Campbell <> writes:

> 1. Some makefile rules, such as the do-build rule to run,
>    will execute it at compile-time.
> 2. Its value is baked into some packages like in #! lines for
>    execution at run-time.
> With the TOOLBASE/LOCALBASE split I proposed earlier
> (,
> it will become necessary to distinguish these two roles.

My quick reaction is that

  PYTHONBIN should be for the target system, via lang/python/

  TOOL_PYTHONBIN should be for the build host via USE_TOOLS += python or
  something like lang/python/

Of course some packages may use both.  Probably most python packages as
py-culture is to run python programs to configure.

Home | Main Index | Thread Index | Old Index