summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-sci/pymol/files/setup2.py-gentoo.patch')
-rw-r--r--app-sci/pymol/files/setup2.py-gentoo.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/app-sci/pymol/files/setup2.py-gentoo.patch b/app-sci/pymol/files/setup2.py-gentoo.patch
new file mode 100644
index 000000000000..1d387eaa0f4c
--- /dev/null
+++ b/app-sci/pymol/files/setup2.py-gentoo.patch
@@ -0,0 +1,17 @@
+--- setup2.py.orig 2003-06-10 19:12:35.000000000 -0400
++++ setup2.py 2003-06-10 19:11:46.000000000 -0400
+@@ -12,6 +12,14 @@
+ import sys
+ from distutils import dir_util,file_util
+
++import os.path
++pmlibs = os.path.join(os.environ['D'],
++ sys.prefix[1:],
++ 'lib/python%s' % sys.version[:3],
++ 'site-packages')
++sys.path.insert(0, pmlibs)
++
++
+ if sys.platform=='win32':
+ launch_script = "pymol.bat"
+ elif sys.platform=='cygwin':