diff options
Diffstat (limited to 'debian/patches/0025-multiarch_manpages_libdir.patch')
-rw-r--r-- | debian/patches/0025-multiarch_manpages_libdir.patch | 31 |
1 files changed, 31 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..220dab3 --- /dev/null +++ b/debian/patches/0025-multiarch_manpages_libdir.patch @@ -0,0 +1,31 @@ +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 +@@ -941,7 +941,7 @@ all: bemans $(API_SPECS) 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' $^ >$@ +Index: trunk/doc/Makefile.am +=================================================================== +--- trunk.orig/doc/Makefile.am ++++ trunk/doc/Makefile.am +@@ -98,7 +98,7 @@ MAN2HTML = nroff -c -man |\ + @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' $^ >$@ |