Discussion:
[PATCH] modes: fix simple mode for python
Felipe Contreras
2012-04-20 07:45:19 UTC
Permalink
Signed-off-by: Felipe Contreras <***@gmail.com>
---
modes/simple/fs_rules.lua | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/modes/simple/fs_rules.lua b/modes/simple/fs_rules.lua
index 8b47062..6e8d132 100644
--- a/modes/simple/fs_rules.lua
+++ b/modes/simple/fs_rules.lua
@@ -30,17 +30,18 @@ simple_rules_usr = {
prefix = "/usr/local/lib", map_to = target_root},

-- Defaults:
- {prefix = "/usr/lib/perl", map_to = tools},
- {prefix = "/usr/lib/gcc", map_to = tools},
- {prefix = "/usr/lib", map_to = target_root},
- {prefix = "/usr/include", map_to = target_root},
-
{prefix = "/usr/share/python", use_orig_path = true, readonly = true},
{prefix = "/usr/share/pyshared", use_orig_path = true, readonly = true},
{prefix = "/usr/lib/pymodules", use_orig_path = true, readonly = true},
{prefix = "/usr/lib/pyshared", use_orig_path = true, readonly = true},
{prefix = "/usr/lib/python", use_orig_path = true, readonly = true},
{prefix = "/usr/lib/git-core", use_orig_path = true, readonly = true},
+ {prefix = "/usr/include/python", use_orig_path = true, readonly = true},
+
+ {prefix = "/usr/lib/perl", map_to = tools},
+ {prefix = "/usr/lib/gcc", map_to = tools},
+ {prefix = "/usr/lib", map_to = target_root},
+ {prefix = "/usr/include", map_to = target_root},

{dir = "/usr", map_to = tools},
}
--
1.7.10
Felipe Contreras
2012-05-14 17:37:52 UTC
Permalink
No replies?

Am I the only one who's 'sb2 python' fails?

On Fri, Apr 20, 2012 at 9:45 AM, Felipe Contreras
---
 modes/simple/fs_rules.lua |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/modes/simple/fs_rules.lua b/modes/simple/fs_rules.lua
index 8b47062..6e8d132 100644
--- a/modes/simple/fs_rules.lua
+++ b/modes/simple/fs_rules.lua
@@ -30,17 +30,18 @@ simple_rules_usr = {
                prefix = "/usr/local/lib", map_to = target_root},
-               {prefix = "/usr/lib/perl", map_to = tools},
-               {prefix = "/usr/lib/gcc", map_to = tools},
-               {prefix = "/usr/lib", map_to = target_root},
-               {prefix = "/usr/include", map_to = target_root},
-
               {prefix = "/usr/share/python", use_orig_path = true, readonly = true},
               {prefix = "/usr/share/pyshared", use_orig_path = true, readonly = true},
               {prefix = "/usr/lib/pymodules", use_orig_path = true, readonly = true},
               {prefix = "/usr/lib/pyshared", use_orig_path = true, readonly = true},
               {prefix = "/usr/lib/python", use_orig_path = true, readonly = true},
               {prefix = "/usr/lib/git-core", use_orig_path = true, readonly = true},
+               {prefix = "/usr/include/python", use_orig_path = true, readonly = true},
+
+               {prefix = "/usr/lib/perl", map_to = tools},
+               {prefix = "/usr/lib/gcc", map_to = tools},
+               {prefix = "/usr/lib", map_to = target_root},
+               {prefix = "/usr/include", map_to = target_root},
               {dir = "/usr", map_to = tools},
 }
--
1.7.10
--
Felipe Contreras
Continue reading on narkive:
Loading...