aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/python/files/2.6/03_all_add_portage_search_path.patch')
-rw-r--r--dev-lang/python/files/2.6/03_all_add_portage_search_path.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-lang/python/files/2.6/03_all_add_portage_search_path.patch b/dev-lang/python/files/2.6/03_all_add_portage_search_path.patch
new file mode 100644
index 0000000..029284c
--- /dev/null
+++ b/dev-lang/python/files/2.6/03_all_add_portage_search_path.patch
@@ -0,0 +1,10 @@
+--- Lib/site.py
++++ Lib/site.py
+@@ -269,6 +269,7 @@
+ "python" + sys.version[:3],
+ "site-packages"))
+ sitedirs.append(os.path.join(prefix, "lib", "site-python"))
++ sitedirs.append(os.path.join(prefix, "lib", "portage", "pym"))
+ else:
+ sitedirs.append(prefix)
+ sitedirs.append(os.path.join(prefix, "lib", "site-packages"))