aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/py-gtkglext/files
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-12-03 17:53:05 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-12-03 17:53:05 +0000
commit58094ff690975dd98e9338449a163cafd591ebea (patch)
tree158e00a9a243e4f2ea747ba27d69eb6d6ad96939 /x11-toolkits/py-gtkglext/files
parent82c277f8c67d5517567b151873c9fd5817a3434b (diff)
Notes
Diffstat (limited to 'x11-toolkits/py-gtkglext/files')
-rw-r--r--x11-toolkits/py-gtkglext/files/patch-py-compile19
1 files changed, 19 insertions, 0 deletions
diff --git a/x11-toolkits/py-gtkglext/files/patch-py-compile b/x11-toolkits/py-gtkglext/files/patch-py-compile
new file mode 100644
index 000000000000..9e48aa41a713
--- /dev/null
+++ b/x11-toolkits/py-gtkglext/files/patch-py-compile
@@ -0,0 +1,19 @@
+--- py-compile.orig 2005-02-03 03:22:53.000000000 +0300
++++ py-compile 2014-12-03 19:39:49.000000000 +0300
+@@ -72,7 +72,7 @@
+ continue
+ print file,
+ sys.stdout.flush()
+- py_compile.compile(path)
++ py_compile.compile(path, path + 'c', os.path.join('/', os.path.relpath(path, os.environ['DESTDIR'])))
+ print" || exit $?
+
+ # this will fail for python < 1.5, but that doesn't matter ...
+@@ -87,6 +87,6 @@
+ continue
+ print file,
+ sys.stdout.flush()
+- py_compile.compile(path)
++ py_compile.compile(path, path + 'o', os.path.join('/', os.path.relpath(path, os.environ['DESTDIR'])))
+ print" 2>/dev/null || :
+