summaryrefslogtreecommitdiff
path: root/lang/python24-pth/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python24-pth/patches/patch-ac')
-rw-r--r--lang/python24-pth/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/python24-pth/patches/patch-ac b/lang/python24-pth/patches/patch-ac
new file mode 100644
index 00000000000..0ced298bca6
--- /dev/null
+++ b/lang/python24-pth/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/12/05 23:28:55 recht Exp $
+
+--- Lib/distutils/command/build_scripts.py.orig Sun Dec 5 22:05:11 2004
++++ Lib/distutils/command/build_scripts.py Sun Dec 5 22:05:34 2004
+@@ -104,7 +104,7 @@
+ outf.write("#!%s%s\n" %
+ (os.path.join(
+ sysconfig.get_config_var("BINDIR"),
+- "python" + sysconfig.get_config_var("EXE")),
++ "python%s" % sys.version[:3] + sysconfig.get_config_var("EXE")),
+ post_interp))
+ outf.writelines(f.readlines())
+ outf.close()