summaryrefslogtreecommitdiff
path: root/debian/patches/0025-multiarch_manpages_libdir.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-10-13 07:21:57 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-10-13 07:21:57 +0200
commitbc7bfb103acda936bd145f2d90e292a5fe0460d2 (patch)
tree8f74d634be11840fd3f526e5fd48d94abbd7c26a /debian/patches/0025-multiarch_manpages_libdir.patch
parent90ad29d4f6fc7011a538a339bf3d4f9260899a80 (diff)
Rename & reorder patches
Diffstat (limited to 'debian/patches/0025-multiarch_manpages_libdir.patch')
-rw-r--r--debian/patches/0025-multiarch_manpages_libdir.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/0025-multiarch_manpages_libdir.patch b/debian/patches/0025-multiarch_manpages_libdir.patch
new file mode 100644
index 0000000..142d501
--- /dev/null
+++ b/debian/patches/0025-multiarch_manpages_libdir.patch
@@ -0,0 +1,18 @@
+Description: Use a generic multiarch path in man pages
+ Backend location in the man pages is substituted from LIBDIR; use
+ a generic /usr/lib/arch_triplet/sane path instead.
+Author: Julien BLACHE <jblache@debian.org>
+
+Index: trunk/doc/Makefile.in
+===================================================================
+--- trunk.orig/doc/Makefile.in
++++ trunk/doc/Makefile.in
+@@ -906,7 +906,7 @@ all: bemans $(STANDARD) html-pages
+ @sed -e 's|@DATADIR@|$(datadir)|g' \
+ -e 's|@CONFIGDIR@|$(configdir)|g' \
+ -e 's|@DOCDIR@|$(docdir)|g' \
+- -e 's|@LIBDIR@|$(libdir)/sane|g' \
++ -e 's|@LIBDIR@|/usr/lib/arch_triplet/sane|g' \
+ -e 's|@BINDIR@|$(bindir)|g' \
+ -e 's|@SBINDIR@|$(sbindir)|g' \
+ -e 's|@PACKAGEVERSION@|$(package_version)|g' $^ >$@