Author: lisu                         Date: Thu May 20 10:09:48 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- set proper prefix

---- Files affected:
packages/calibre:
   calibre-prefix.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/calibre/calibre-prefix.patch
diff -u /dev/null packages/calibre/calibre-prefix.patch:1.1
--- /dev/null   Thu May 20 12:09:48 2010
+++ packages/calibre/calibre-prefix.patch       Thu May 20 12:09:43 2010
@@ -0,0 +1,22 @@
+--- calibre/setup/install.py~  2010-05-16 05:55:33.000000000 +0200
++++ calibre/setup/install.py   2010-05-20 12:00:42.483014835 +0200
+@@ -91,15 +91,10 @@
+             self.sharedir = self.j(opts.prefix, 'share')
+         if not getattr(opts, 'staging_root', None):
+             opts.staging_root = opts.prefix
+-        self.staging_libdir = getattr(opts, 'staging_libdir', None)
+-        if self.staging_libdir is None:
+-            self.staging_libdir = opts.staging_libdir = 
self.j(opts.staging_root, 'lib')
+-        self.staging_bindir = getattr(opts, 'staging_bindir', None)
+-        if self.staging_bindir is None:
+-            self.staging_bindir = opts.staging_bindir = 
self.j(opts.staging_root, 'bin')
+-        self.staging_sharedir = getattr(opts, 'staging_sharedir', None)
+-        if self.staging_sharedir is None:
+-            self.staging_sharedir = opts.staging_sharedir = 
self.j(opts.staging_root, 'share')
++
++        self.staging_libdir = opts.staging_libdir = self.j(opts.staging_root, 
'usr/', 'lib')
++        self.staging_bindir = opts.staging_bindir = self.j(opts.staging_root, 
'usr/', 'bin')
++        self.staging_sharedir = opts.staging_sharedir = 
self.j(opts.staging_root, 'usr/', 'share')
+ 
+         self.staging_libdir = opts.staging_libdir = 
self.j(self.staging_libdir, 'calibre')
+         self.staging_sharedir = opts.staging_sharedir = 
self.j(self.staging_sharedir, 'calibre')
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to