aboutsummaryrefslogtreecommitdiff
path: root/office/calibre/patches/fix-manpages.patch
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-06-15 04:26:34 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-15 04:26:34 -0500
commit4bdda09a8054e97a1535288cf41919f3b2575207 (patch)
tree133349a3c7a0a7d5a8ed66b334dc25d4a1f2b4d6 /office/calibre/patches/fix-manpages.patch
parent45e8294d0e6bf58b1777f07e427973bdc29ac412 (diff)
office/calibre: Updated for version 0.7.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/calibre/patches/fix-manpages.patch')
-rw-r--r--office/calibre/patches/fix-manpages.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/office/calibre/patches/fix-manpages.patch b/office/calibre/patches/fix-manpages.patch
new file mode 100644
index 0000000000000..b9ea10be00ecd
--- /dev/null
+++ b/office/calibre/patches/fix-manpages.patch
@@ -0,0 +1,21 @@
+diff -Naur calibre.orig/src/calibre/linux.py calibre/src/calibre/linux.py
+--- calibre.orig/src/calibre/linux.py 2010-03-05 21:13:33.000000000 +0000
++++ calibre/src/calibre/linux.py 2010-03-07 00:02:26.000000000 +0000
+@@ -325,7 +325,7 @@
+ if isfreebsd:
+ manpath = os.path.join(self.opts.staging_root, 'man/man1')
+ else:
+- manpath = os.path.join(self.opts.staging_sharedir, 'man/man1')
++ manpath = os.path.join(self.opts.staging_root, 'usr/man/man1')
+ if not os.path.exists(manpath):
+ os.makedirs(manpath)
+ self.info('Installing MAN pages...')
+@@ -341,7 +341,7 @@
+ if isfreebsd:
+ manfile = os.path.join(manpath, prog+'.1')
+ else:
+- manfile = os.path.join(manpath, prog+'.1'+__appname__+'.bz2')
++ manfile = os.path.join(manpath, prog+'.1'+'.bz2')
+ self.info('\tInstalling MAN page for', prog)
+ open(manfile, 'wb').write(raw)
+ self.manifest.append(manfile)