summaryrefslogtreecommitdiff
path: root/debian/patches/multiarch_manpages_libdir.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-14 10:37:33 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-14 10:37:33 +0200
commit0cdca259ca073f77b9ae831feb367b6d120e83cf (patch)
tree50862cd94a3ee737ed614fd793821ba29c969ee7 /debian/patches/multiarch_manpages_libdir.patch
parent82a152928f820a6aeb02ef8cd9ebfa7d3bcaae48 (diff)
some work for version 1.0.24-2
Diffstat (limited to 'debian/patches/multiarch_manpages_libdir.patch')
-rw-r--r--debian/patches/multiarch_manpages_libdir.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/multiarch_manpages_libdir.patch b/debian/patches/multiarch_manpages_libdir.patch
new file mode 100644
index 0000000..cd40126
--- /dev/null
+++ b/debian/patches/multiarch_manpages_libdir.patch
@@ -0,0 +1,16 @@
+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>
+
+--- a/doc/Makefile.in
++++ b/doc/Makefile.in
+@@ -901,7 +901,7 @@
+ @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' $^ >$@