summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-11-11 19:24:06 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-11-11 19:24:06 +0000
commit920118f74489415c3eebad968b7f1ae0af55faf5 (patch)
tree460000b13b8b79706681938b7bc72f3af89bcbb1 /dev-util/scons/files
parentDon't inherit unused eclass. Set PYTHONPATH in src_test(). Patch by Arfrever (diff)
downloadgentoo-2-920118f74489415c3eebad968b7f1ae0af55faf5.tar.gz
gentoo-2-920118f74489415c3eebad968b7f1ae0af55faf5.tar.bz2
gentoo-2-920118f74489415c3eebad968b7f1ae0af55faf5.zip
Fix building with Jython. Patch by Arfrever.
(Portage version: 2.2.0_alpha73/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/scons/files')
-rw-r--r--dev-util/scons/files/scons-2.1.0-jython.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-util/scons/files/scons-2.1.0-jython.patch b/dev-util/scons/files/scons-2.1.0-jython.patch
new file mode 100644
index 000000000000..ca04e12031e1
--- /dev/null
+++ b/dev-util/scons/files/scons-2.1.0-jython.patch
@@ -0,0 +1,13 @@
+http://scons.tigris.org/issues/show_bug.cgi?id=2791
+
+--- setup.py
++++ setup.py
+@@ -325,7 +325,7 @@
+ self.copy_scons(src, scons_version_bat)
+
+ # --- distutils copy/paste ---
+- if os.name == 'posix':
++ if hasattr(os, 'chmod'):
+ # Set the executable bits (owner, group, and world) on
+ # all the scripts we just installed.
+ for file in self.get_outputs():