aboutsummaryrefslogtreecommitdiff
path: root/office/calibre/patches/fix-manpages.patch
diff options
context:
space:
mode:
Diffstat (limited to 'office/calibre/patches/fix-manpages.patch')
-rw-r--r--office/calibre/patches/fix-manpages.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/office/calibre/patches/fix-manpages.patch b/office/calibre/patches/fix-manpages.patch
deleted file mode 100644
index b9ea10be00ec..000000000000
--- a/office/calibre/patches/fix-manpages.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-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)