Subject: missing {LOCALBASE}/bin/python?
To: None <tech-pkg@netbsd.org>
From: Berndt Josef Wulf <wulf@ping.net.au>
List: tech-pkg
Date: 07/23/2005 20:40:43
G'day,

The installation of any lang/python${PY_VER_SUFFIX} package will install a 
${PREFIX}/bin/python${PY_VER_SUFFIX} binary.

Python scripts are usually looking for a ${PREFIX}/bin/python binary, e.g. 

#! /usr/bin/env python"

This will not work for python binaries installed under the pkgsrc system. Do I 
have to manually create a link python -> python${PY_VER_SUFFIX} or is there a 
magical way of doing this by means of setting an optional pkgsrc variable?

I don't consider changing hundreds of script files to an option.

cheerio Berndt