diff options
Diffstat (limited to 'textproc/py-4suite/patches/patch-ab')
-rw-r--r-- | textproc/py-4suite/patches/patch-ab | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/textproc/py-4suite/patches/patch-ab b/textproc/py-4suite/patches/patch-ab new file mode 100644 index 00000000000..4ee6ae456c0 --- /dev/null +++ b/textproc/py-4suite/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/08/20 14:09:45 drochner Exp $ + +--- ./Ft/Lib/DistExt/BuildScripts.py.orig Tue Aug 20 15:30:48 2002 ++++ ./Ft/Lib/DistExt/BuildScripts.py Tue Aug 20 15:32:31 2002 +@@ -5,7 +5,7 @@ + from distutils.dep_util import newer + + SCRIPT = """\ +-#!/usr/bin/env python ++#!%(exec)s + import os + cwd = os.getcwd() + os.chdir(os.path.dirname(os.__file__)) +@@ -136,6 +136,7 @@ + script.identifier) + else: + args['import'] = 'import %s' % script.identifier ++ args['exec'] = sys.executable + + f = open(outfile, 'w') + f.write(SCRIPT % args) |