Subject: missing {LOCALBASE}/bin/python?
To: None <>
From: Berndt Josef Wulf <>
List: tech-pkg
Date: 07/23/2005 20:40:43

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