Subject: Re: Python buildlink?
To: None <tech-pkg@netbsd.org>
From: Amitai Schlair <schmonz@schmonz.com>
List: tech-pkg
Date: 07/26/2002 18:37:07
"Julio Merino" <jmmv@hispabsd.org> wrote:
> "Amitai Schlair" <schmonz@schmonz.com> wrote:
>
> > I'd recommend fixing those paths in two steps. First, patch the
> > problematic instances of "python" to @PYTHONBIN@. Then, override the
> > pre-configure target and use sed to replace @PYTHONBIN@ with
> > ${PYTHONBIN}.
>
> Nice. Although, I've taken a look to application.buildlink.mk and it
already
> does some kind of replacement, but only in the #! lines of the script.
Would
> this be extended to also look for and replace @PYTHONBIN@
automatically?
If it's a problem shared by several other packages, then it might be
worth doing that. I don't know if that's the case. Even so, keep in mind
that it takes some time to find and replace nothing in a lot of files.
:-)
- Amitai